Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -39,4 +39,6 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
39 |
# CMD ["gunicorn", "-b", "0.0.0.0:7860","app:app"]
|
40 |
# CMD ["gunicorn", "-b", "0.0.0.0:7860", "--timeout", "180", "app:app"]
|
41 |
# CMD ["gunicorn", "-b", "0.0.0.0:7860", "--workers", "3", "--timeout", "300", "--worker-class", "gevent", "app:app"]
|
42 |
-
CMD ["bash", "-c", "redis-server & celery -A app_celery.celery worker --loglevel=info --pool=
|
|
|
|
|
|
39 |
# CMD ["gunicorn", "-b", "0.0.0.0:7860","app:app"]
|
40 |
# CMD ["gunicorn", "-b", "0.0.0.0:7860", "--timeout", "180", "app:app"]
|
41 |
# CMD ["gunicorn", "-b", "0.0.0.0:7860", "--workers", "3", "--timeout", "300", "--worker-class", "gevent", "app:app"]
|
42 |
+
# CMD ["bash", "-c", "redis-server & celery -A app_celery.celery worker --loglevel=info --pool=gevent & gunicorn -b 0.0.0.0:7860 --workers 3 --timeout 300 app_celery:app"]
|
43 |
+
CMD ["bash", "-c", "redis-server & celery -A app_celery.celery worker --loglevel=info --pool=gevent & gunicorn -b 0.0.0.0:7860 --workers 3 --worker-class gevent --timeout 300 app_celery:app"]
|
44 |
+
|