Fitxers de deploy

This commit is contained in:
2021-11-27 13:09:11 +01:00
parent 7a8ae86a1c
commit 5729cbe18a
4 changed files with 34 additions and 0 deletions

14
deploy/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.8
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY main.py .
COPY static .
COPY templates .
COPY deploy/presencia.ini .
CMD ["uwsgi", "--ini", "presencia.ini"]