zyxciss commited on
Commit
bc56c5b
·
verified ·
1 Parent(s): 776db17

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -1,7 +1,5 @@
1
  FROM ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.0post3
2
 
3
- # Expose port (though Spaces sets this dynamically)
4
  EXPOSE 8880
5
 
6
- # Use the Hugging Face provided PORT environment variable
7
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "${PORT}"]
 
1
  FROM ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.0post3
2
 
 
3
  EXPOSE 8880
4
 
5
+ CMD uvicorn main:app --host 0.0.0.0 --port $PORT