Explorar o código

Put gunicorn command in list

Ben Firshman %!s(int64=9) %!d(string=hai) anos
pai
achega
dea83e7ea8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"]