Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -38,4 +38,4 @@ RUN find /code -type d -name "__pycache__" -exec rm -r {} + 2>/dev/null || true
|
|
| 38 |
RUN echo 'from run import app\n\nif __name__ == "__main__":\n app.run()' > /code/wsgi.py
|
| 39 |
|
| 40 |
# Run with gunicorn
|
| 41 |
-
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "
|
|
|
|
| 38 |
RUN echo 'from run import app\n\nif __name__ == "__main__":\n app.run()' > /code/wsgi.py
|
| 39 |
|
| 40 |
# Run with gunicorn
|
| 41 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "--timeout", "120", "--preload", "wsgi:app"]
|