Add docker

This commit is contained in:
Michael Hansen
2023-12-04 15:56:56 -06:00
parent c49f5e9c5f
commit 07bebb8f7a
8 changed files with 105 additions and 8 deletions
+22
View File
@@ -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"]