Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -52,7 +52,7 @@ RUN git clone --branch release-0.23 https://github.com/VOICEVOX/voicevox_engine.
|
|
52 |
# ---------- Important! https://github.com/VOICEVOX/voicevox_engine/issues/1568 ----------
|
53 |
|
54 |
# Install requirements.txt
|
55 |
-
|
56 |
|
57 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
58 |
-
|
|
|
52 |
# ---------- Important! https://github.com/VOICEVOX/voicevox_engine/issues/1568 ----------
|
53 |
|
54 |
# Install requirements.txt
|
55 |
+
RUN pip install --requirement voicevox_engine/requirements.txt
|
56 |
|
57 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
58 |
+
CMD ["python", "voicevox_engine/run.py", "--voicelib_dir", "voicevox_core", "--host", "0.0.0.0", "--port", "7860", "--cors_policy_mode", "all"]
|