rahul7star commited on
Commit
0b2dbc8
·
verified ·
1 Parent(s): cfe9046

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -33,7 +33,7 @@ COPY requirements.txt /home/user/app/requirements.txt
33
  RUN pip install --no-cache-dir -r /home/user/app/requirements.txt
34
 
35
  # Expose the correct port
36
- EXPOSE 8000
37
 
38
- # Run FastAPI (no __main__ needed)
39
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
 
33
  RUN pip install --no-cache-dir -r /home/user/app/requirements.txt
34
 
35
  # Expose the correct port
36
+ EXPOSE 7860
37
 
38
+ # Start the FastAPI app
39
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]