Pārlūkot izejas kodu

Put gunicorn command in list

Ben Firshman 9 gadi atpakaļ
vecāks
revīzija
dea83e7ea8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      vote/Dockerfile

+ 1 - 1
vote/Dockerfile

@@ -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"]