caidaoli commited on
Commit
8de3016
·
verified ·
1 Parent(s): da6e014

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -11,4 +11,4 @@ COPY . .
11
  ENV PORT=3000
12
  EXPOSE 3000
13
 
14
- CMD ["gunicorn", "--bind", "0.0.0.0:3000", "--preload", "app:app"]
 
11
  ENV PORT=3000
12
  EXPOSE 3000
13
 
14
+ CMD ["gunicorn", "--bind", "0.0.0.0:3000", "--workers", "2", "--threads", "4", "--worker-class", "gthread", "--worker-connections", "1000", "--max-requests", "1000", "--max-requests-jitter", "100", "--timeout", "120", "--keep-alive", "5", "--preload", "app:app"]