Pujan-Dev commited on
Commit
56f6940
·
verified ·
1 Parent(s): 74ab50a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -29,5 +29,5 @@ RUN pip install --no-cache-dir --upgrade pip \
29
  # Expose port
30
  EXPOSE 7860
31
 
32
- # Start the FastAPI app using uvicorn
33
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
29
  # Expose port
30
  EXPOSE 7860
31
 
32
+ # Start the FastAPI app using uvicorn with 4 workers
33
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "4"]