Put gunicorn command in list
This commit is contained in:
parent
3a7eb3b4b0
commit
dea83e7ea8
@ -15,4 +15,4 @@ ADD . /app
|
|||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
# Define our command to be run when launching the container
|
# 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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user