Phoenix21 commited on
Commit
f15f261
·
verified ·
1 Parent(s): f3db870

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -24,5 +24,5 @@ COPY --chown=user . /app
24
  # Expose port 7860 (required by Hugging Face Spaces)
25
  EXPOSE 7860
26
 
27
- # Start the FastAPI app using uvicorn
28
  CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
24
  # Expose port 7860 (required by Hugging Face Spaces)
25
  EXPOSE 7860
26
 
27
+ # Start the FastAPI app using uvicorn via python -m to ensure it's found
28
  CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]