Reduced the number of workers to 2
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -71,7 +71,7 @@ RUN pipx install unsilence
|
|
71 |
# Command to run the application
|
72 |
# CMD python -m uvicorn App.app:app --host 0.0.0.0 --port 7860 & python -m celery -A App.Worker.celery worker -c 4 --max-tasks-per-child=1
|
73 |
|
74 |
-
CMD python -m uvicorn App.app:app --host 0.0.0.0 --port 7860 --workers
|
75 |
|
76 |
|
77 |
EXPOSE 7860
|
|
|
71 |
# Command to run the application
|
72 |
# CMD python -m uvicorn App.app:app --host 0.0.0.0 --port 7860 & python -m celery -A App.Worker.celery worker -c 4 --max-tasks-per-child=1
|
73 |
|
74 |
+
CMD python -m uvicorn App.app:app --host 0.0.0.0 --port 7860 --workers 2
|
75 |
|
76 |
|
77 |
EXPOSE 7860
|