Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -31,7 +31,7 @@ RUN git clone https://github.com/VOICEVOX/voicevox_engine.git
|
|
31 |
|
32 |
# Install requirements.txt
|
33 |
RUN pip install --no-cache-dir --upgrade -r voicevox_engine/requirements.txt
|
34 |
-
RUN voicevox_engine --download-models
|
35 |
|
36 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
37 |
-
CMD ["python", "voicevox_engine/run.py", "--voicelib_dir", "voicevox_core", "--host", "0.0.0.0", "--port", "7860", "--cors_policy_mode", "all"]
|
|
|
|
31 |
|
32 |
# Install requirements.txt
|
33 |
RUN pip install --no-cache-dir --upgrade -r voicevox_engine/requirements.txt
|
|
|
34 |
|
35 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
36 |
+
CMD ["python", "voicevox_engine/run.py", "--voicelib_dir", "voicevox_core", "--host", "0.0.0.0", "--port", "7860", "--cors_policy_mode", "all"]
|
37 |
+
RUN RUN voicevox_engine --download-models
|