Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -20,8 +20,12 @@ COPY --chown=user . $HOME/app
|
|
20 |
# Clone VOICEVOX Engine from Git Repository
|
21 |
RUN git clone https://github.com/VOICEVOX/voicevox_engine.git
|
22 |
|
|
|
|
|
|
|
|
|
23 |
# Install requirements.txt
|
24 |
RUN pip install --no-cache-dir --upgrade -r voicevox_engine/requirements.txt
|
25 |
|
26 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
27 |
-
CMD ["python", "voicevox_engine/run.py", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
20 |
# Clone VOICEVOX Engine from Git Repository
|
21 |
RUN git clone https://github.com/VOICEVOX/voicevox_engine.git
|
22 |
|
23 |
+
# Download VOICEVOX Core from latest Release
|
24 |
+
curl -sSfL https://github.com/VOICEVOX/voicevox_core/releases/latest/download/download-linux-x64 -o download
|
25 |
+
chmod +x download
|
26 |
+
|
27 |
# Install requirements.txt
|
28 |
RUN pip install --no-cache-dir --upgrade -r voicevox_engine/requirements.txt
|
29 |
|
30 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
31 |
+
CMD ["python", "voicevox_engine/run.py", "--voicevox_dir", "voicevox_core", "--host", "0.0.0.0", "--port", "7860"]
|