fix Docker container not handling ctrl-c correctly

This commit is contained in:
Son NK 2019-12-21 13:56:11 +02:00
parent ed5496024d
commit af04c4c994
1 changed files with 2 additions and 2 deletions

View File

@ -12,6 +12,6 @@ RUN pip3 install -r requirements.txt
COPY . .
CMD gunicorn wsgi:app -b 0.0.0.0:7777 -w 2 --timeout 15 --log-level DEBUG
#gunicorn wsgi:app -b 0.0.0.0:7777 -w 2 --timeout 15 --log-level DEBUG
CMD ["gunicorn","wsgi:app","-b","0.0.0.0:7777","-w","2","--timeout","15","--log-level","DEBUG"]
#CMD ["/usr/local/bin/gunicorn", "wsgi:app", "-k", "gthread", "-b", "0.0.0.0:5000", "-w", "2", "--timeout", "15", "--log-level", "DEBUG"]