Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -42,4 +42,5 @@ ENV FLASK_APP=app.py
|
|
| 42 |
ENV FLASK_ENV=production
|
| 43 |
|
| 44 |
# Command to run the application
|
| 45 |
-
CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "--timeout", "120", "app:app"]
|
|
|
|
|
|
| 42 |
ENV FLASK_ENV=production
|
| 43 |
|
| 44 |
# Command to run the application
|
| 45 |
+
#CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "--timeout", "120", "app:app"]
|
| 46 |
+
CMD ["gunicorn", "--workers=5", "--threads=2", "--bind=0.0.0.0:7860", "--timeout=120", "app:app"]
|