Dockerize this script

main
Luca 3 years ago
parent b9dbf443e5
commit 0d8de7b4c0

@ -0,0 +1,6 @@
**/__pycache__
.dockerignore
.git*
Dockerfile
README.md
env

@ -0,0 +1,12 @@
FROM python:3.10-alpine3.15
WORKDIR /opt/schichtleiter
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
ENTRYPOINT ["python", "./schichtleiter.py", "-l", "0.0.0.0"]
Loading…
Cancel
Save