Hammad712 commited on
Commit
65904d6
·
verified ·
1 Parent(s): 62c1050

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -15,7 +15,7 @@ RUN pip install --upgrade pip && pip install -r requirements.txt
15
  COPY main.py .
16
 
17
  # Expose the port FastAPI will run on.
18
- EXPOSE 8000
19
 
20
  # Command to run the FastAPI app using uvicorn via the module interface.
21
- CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
15
  COPY main.py .
16
 
17
  # Expose the port FastAPI will run on.
18
+ EXPOSE 7060
19
 
20
  # Command to run the FastAPI app using uvicorn via the module interface.
21
+ CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7060"]