use config to start gunicorn

This commit is contained in:
2018-01-24 14:18:09 +02:00
parent 9f392b4d0b
commit 997ba56678
2 changed files with 9 additions and 2 deletions

View File

@@ -10,5 +10,6 @@ COPY static /code/static
COPY templates /code/templates
COPY revprox.py /code/revprox.py
COPY app.py /code/app.py
COPY start_app.py /code/start_app.py
WORKDIR /code
CMD gunicorn -b 0.0.0.0:80 --timeout 3600 -w 6 app:app
CMD python3 start_app.py