Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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=
|
|
|
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"]
|