Spanicin commited on
Commit
343e43a
·
verified ·
1 Parent(s): dc36d8f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -36,4 +36,4 @@ RUN bash scripts/download_models.sh
36
  # Install Python dependencies
37
  RUN pip install --no-cache-dir -r requirements.txt
38
 
39
- CMD ["bash", "-c", "redis-server & celery -A app_celery.celery worker --loglevel=info --pool=prefork & gunicorn -b 0.0.0.0:7860 --timeout 500 app_celery:app"]
 
36
  # Install Python dependencies
37
  RUN pip install --no-cache-dir -r requirements.txt
38
 
39
+ CMD ["bash", "-c", "redis-server & celery -A app_celery.celery worker --loglevel=info --pool=gevent & gunicorn -b 0.0.0.0:7860 --worker-class gevent --timeout 300 app_celery:app"]