From ef3c1f4bfe8efa7f94ee65e3de7b89fb5f2f4a59 Mon Sep 17 00:00:00 2001 From: L'Ajuntament Date: Sat, 27 Nov 2021 13:28:39 +0100 Subject: [PATCH] Fixed deploys --- deploy/Dockerfile | 4 ++-- deploy/presencia.ini | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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