Mbonea commited on
Commit
09f862a
1 Parent(s): 313654e

Reduced the number of workers to 2

Browse files
Files changed (1) hide show
  1. 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 4
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