Skip to content

Commit 2c9e704

Browse files
committed
Put gunicorn command in list
1 parent a6c0bd3 commit 2c9e704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vote/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ ADD . /app
1515
EXPOSE 80
1616

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

0 commit comments

Comments
 (0)