Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Fix: remove gevent websocket worker (crashes gunicorn), use default sync worker
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -44,5 +44,5 @@ ENV FLASK_ENV=production \
|
|
| 44 |
EXPOSE 7860
|
| 45 |
|
| 46 |
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", \
|
| 47 |
-
"--timeout", "300",
|
| 48 |
"app:app"]
|
|
|
|
| 44 |
EXPOSE 7860
|
| 45 |
|
| 46 |
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", \
|
| 47 |
+
"--timeout", "300", \
|
| 48 |
"app:app"]
|