Abdul Rafay commited on
Commit
e4deeb5
·
1 Parent(s): ac94d94

corrected port

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -16,8 +16,8 @@ RUN pip install --no-cache-dir -r requirements.txt
16
  # Copy all project files
17
  COPY . .
18
 
19
- # Hugging Face expects port 8000
20
  EXPOSE 8000
21
 
22
  # Start FastAPI (which mounts Gradio)
23
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
16
  # Copy all project files
17
  COPY . .
18
 
19
+ # Hugging Face expects port 7860
20
  EXPOSE 8000
21
 
22
  # Start FastAPI (which mounts Gradio)
23
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]