Improve logging

This commit is contained in:
Thomas Sileo
2018-05-23 00:41:37 +02:00
parent 694511121c
commit cc900a2b4c
3 changed files with 12 additions and 1 deletions

View File

@@ -3,4 +3,4 @@ ADD . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENV FLASK_APP=app.py
CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:5005", "app:app"]
CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:5005", "--log-level", "debug", "app:app"]