Quellcode durchsuchen

Put gunicorn command in list

Ben Firshman vor 9 Jahren
Ursprung
Commit
dea83e7ea8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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"]