Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -32,7 +32,7 @@ RUN git clone https://github.com/VOICEVOX/voicevox_nemo_engine.git voicevox_nemo
|
|
32 |
# ---------- Important! https://github.com/VOICEVOX/voicevox_engine/issues/1568 (Related) ----------
|
33 |
|
34 |
# Install requirements.txt
|
35 |
-
|
36 |
|
37 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
38 |
-
|
|
|
32 |
# ---------- Important! https://github.com/VOICEVOX/voicevox_engine/issues/1568 (Related) ----------
|
33 |
|
34 |
# Install requirements.txt
|
35 |
+
RUN pip install --requirement voicevox_nemo_engine/requirements.txt
|
36 |
|
37 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
38 |
+
CMD ["python", "voicevox_nemo_engine/run.py", "--voicelib_dir", "voicevox_nemo_core", "--host", "0.0.0.0", "--port", "7860", "--cors_policy_mode", "all"]
|