Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -68,4 +68,6 @@ ENV FLASK_APP=app.py
|
|
| 68 |
ENV FLASK_ENV=production
|
| 69 |
|
| 70 |
# Command to run the Flask app using Gunicorn
|
| 71 |
-
CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "--timeout", "120", "app:app"]
|
|
|
|
|
|
|
|
|
| 68 |
ENV FLASK_ENV=production
|
| 69 |
|
| 70 |
# Command to run the Flask app using Gunicorn
|
| 71 |
+
#CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "--timeout", "120", "app:app"]
|
| 72 |
+
# Command to run the Flask app using Gunicorn with 1 worker
|
| 73 |
+
CMD ["gunicorn", "--workers=1", "--bind=0.0.0.0:7860", "--timeout=120", "app:app"]
|