diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 648e85c..575d177 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -7,8 +7,8 @@ COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY main.py . -COPY static . -COPY templates . +COPY static static +COPY templates templates COPY deploy/presencia.ini . CMD ["uwsgi", "--ini", "presencia.ini"] diff --git a/deploy/presencia.ini b/deploy/presencia.ini index cee46b3..cc0fa74 100644 --- a/deploy/presencia.ini +++ b/deploy/presencia.ini @@ -6,5 +6,5 @@ gid = www-data chdir = /app/ processes = 4 threads = 2 -socket = 0.0.0.0:5000 +http = 0.0.0.0:5000 wsgi-disable-file-wrapper = false