RajatMalviya commited on
Commit
27c51d5
·
verified ·
1 Parent(s): 0fdfde9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -17,8 +17,8 @@ RUN pip install --no-cache-dir -r requirements.txt
17
  # Copy the entire project
18
  COPY . .
19
 
20
- # Expose the correct port
21
- EXPOSE 7860 # Change this to 7860 only if deploying to Hugging Face Spaces
22
 
23
  # Run FastAPI using Uvicorn
24
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
17
  # Copy the entire project
18
  COPY . .
19
 
20
+ # Expose the correct port for Hugging Face Spaces
21
+ EXPOSE 7860
22
 
23
  # Run FastAPI using Uvicorn
24
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]