MeowSky49887 commited on
Commit
ee51ca9
·
verified ·
1 Parent(s): e8573f6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -5
Dockerfile CHANGED
@@ -1,7 +1,5 @@
 
1
  FROM voicevox/voicevox_engine:cpu-latest
2
 
3
- # Expose the necessary port
4
- EXPOSE 50021
5
-
6
- # Define the entrypoint to match the command
7
- ENTRYPOINT ["/run.sh"]
 
1
+ # Use the official VOICEVOX Engine image
2
  FROM voicevox/voicevox_engine:cpu-latest
3
 
4
+ # Start the FastAPI app on port 7860, the default port expected by Spaces
5
+ CMD ["--host", "0.0.0.0", "--port", "7860"]