garvitcpp commited on
Commit
c8713c8
·
verified ·
1 Parent(s): 753f6f9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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", "4", "wsgi:app"]
 
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"]