DarkMo0o commited on
Commit
618322a
·
verified ·
1 Parent(s): d56addb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -22,9 +22,9 @@ RUN pip install --no-cache-dir --upgrade pip \
22
  # Copy the rest of the application files
23
  COPY . .
24
 
25
- # Expose port (HF Spaces use 7860 by default – flask here uses 5005)
26
- EXPOSE 5005
27
 
28
  # Start the server
29
  # Note: We use uvicorn (ASGI interface) to run the Flask app via ASGI handler
30
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "5005"]
 
22
  # Copy the rest of the application files
23
  COPY . .
24
 
25
+ # Expose port (HF Spaces use 7860 by default – flask here uses 7860)
26
+ EXPOSE 7860
27
 
28
  # Start the server
29
  # Note: We use uvicorn (ASGI interface) to run the Flask app via ASGI handler
30
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]