Niansuh commited on
Commit
c8d2614
·
verified ·
1 Parent(s): f544f5e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -20,7 +20,7 @@ RUN pip install --no-cache-dir -r requirements.txt
20
  COPY . /app
21
 
22
  # Expose the port that the FastAPI app runs on
23
- EXPOSE 8002
24
 
25
  # Command to run the app with Gunicorn and Uvicorn workers
26
- CMD ["gunicorn", "-k", "uvicorn.workers.UvicornWorker", "--workers", "4", "--bind", "0.0.0.0:8002", "main:app"]
 
20
  COPY . /app
21
 
22
  # Expose the port that the FastAPI app runs on
23
+ EXPOSE 8001
24
 
25
  # Command to run the app with Gunicorn and Uvicorn workers
26
+ CMD ["gunicorn", "-k", "uvicorn.workers.UvicornWorker", "--workers", "4", "--bind", "0.0.0.0:8001", "main:app"]