Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -21,4 +21,4 @@ ENV FLASK_ENV=production
|
|
| 21 |
ENV FLASK_APP=app.py
|
| 22 |
|
| 23 |
# Use gthread worker for better performance
|
| 24 |
-
CMD ["gunicorn", "--bind", "0.0.0.0:
|
|
|
|
| 21 |
ENV FLASK_APP=app.py
|
| 22 |
|
| 23 |
# Use gthread worker for better performance
|
| 24 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--worker-class", "gthread", "--workers", "1", "--threads", "4", "--timeout", "0", "app:app"]
|