Put gunicorn command in list

This commit is contained in:
Ben Firshman 2016-06-18 10:56:26 -07:00
parent 3a7eb3b4b0
commit dea83e7ea8

View File

@ -15,4 +15,4 @@ ADD . /app
EXPOSE 80
# Define our command to be run when launching the container
CMD gunicorn app:app -b 0.0.0.0:80 --log-file - --access-logfile - --workers 4 --keep-alive 0
CMD ["gunicorn", "app:app", "-b", "0.0.0.0:80", "--log-file", "-", "--access-logfile", "-", "--workers", "4", "--keep-alive", "0"]