Add docker
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
FROM python:3.11-slim-bookworm
|
||||
|
||||
ENV LANG C.UTF-8
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install --yes --no-install-recommends avahi-utils
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY script/setup ./script/
|
||||
COPY setup.py requirements.txt MANIFEST.in ./
|
||||
COPY wyoming_satellite/ ./wyoming_satellite/
|
||||
|
||||
RUN script/setup
|
||||
|
||||
COPY script/run ./script/
|
||||
COPY docker/run ./
|
||||
|
||||
EXPOSE 10700
|
||||
|
||||
ENTRYPOINT ["/app/run"]
|
||||
Reference in New Issue
Block a user