Update Dockerfile
Browse files- 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"]
|