saeedzou commited on
Commit
919f19c
·
verified ·
1 Parent(s): e71a73d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -35,5 +35,5 @@ COPY phonemizer.py .
35
  # Expose the port FastAPI will run on
36
  EXPOSE 7860
37
 
38
- # Run the FastAPI app
39
- CMD ["uvicorn", "phonemizer:app", "--host", "0.0.0.0", "--port", "7860"]
 
35
  # Expose the port FastAPI will run on
36
  EXPOSE 7860
37
 
38
+ # Add Hugging Face Spaces ENTRYPOINT
39
+ ENTRYPOINT ["uvicorn", "phonemizer:app", "--host", "0.0.0.0", "--port", "7860"]