Fixed deploys

This commit is contained in:
2021-11-27 13:28:39 +01:00
parent f04bb3f69b
commit ef3c1f4bfe
2 changed files with 3 additions and 3 deletions

View File

@@ -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"]

View File

@@ -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