Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -36,5 +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=
|
| 40 |
-
|
|
|
|
| 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 --concurrency=10 --pool=gevent & gunicorn -b 0.0.0.0:7860 --worker-class gevent --timeout 300 app_celery:app"]
|
|
|