karthikeya1212 commited on
Commit
9b2678d
·
verified ·
1 Parent(s): 4804a2c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -5
Dockerfile CHANGED
@@ -50,9 +50,8 @@ RUN pip install --no-cache-dir \
50
 
51
 
52
 
 
 
53
 
54
- # Expose the app port
55
- EXPOSE 8000
56
-
57
- # Command to run FastAPI server
58
- CMD ["uvicorn", "api.server:app", "--host", "0.0.0.0", "--port", "8000"]
 
50
 
51
 
52
 
53
+ # Expose the API port
54
+ EXPOSE 7860
55
 
56
+ # Start FastAPI (main.py is inside app/)
57
+ CMD ["uvicorn", "api.server:app", "--host", "0.0.0.0", "--port", "7860"]