Anwarkh1 commited on
Commit
04c588d
1 Parent(s): af2affc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -13,5 +13,5 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
13
  # Copy the content of the local src directory to the working directory
14
  COPY . .
15
 
16
- # Command to run the FastAPI server
17
- CMD ["gunicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
13
  # Copy the content of the local src directory to the working directory
14
  COPY . .
15
 
16
+ # Command to run the Flask server with Gunicorn
17
+ CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]