Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +8 -5
Dockerfile
CHANGED
@@ -31,12 +31,9 @@ COPY --chown=user . $HOME/app
|
|
31 |
|
32 |
# Install VOICEVOX Core
|
33 |
# RUN ./download --output voicevox_core
|
34 |
-
|
35 |
-
# Clone VOICEVOX Engine from Git Repository
|
36 |
-
# RUN git clone https://github.com/VOICEVOX/voicevox_engine.git voicevox_engine
|
37 |
|
38 |
-
#
|
39 |
-
# RUN
|
40 |
|
41 |
# ---------- Important! Temporary Downgrade to 0.15.x ----------
|
42 |
|
@@ -49,7 +46,13 @@ RUN chmod +x ./download.sh
|
|
49 |
# Install VOICEVOX Core
|
50 |
RUN ./download.sh --output voicevox_core --version 0.15.7
|
51 |
|
|
|
|
|
|
|
52 |
# ---------- Normaly Run ----------
|
53 |
|
|
|
|
|
|
|
54 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
55 |
CMD ["python", "voicevox_engine/run.py", "--voicelib_dir", "voicevox_core", "--host", "0.0.0.0", "--port", "7860", "--cors_policy_mode", "all"]
|
|
|
31 |
|
32 |
# Install VOICEVOX Core
|
33 |
# RUN ./download --output voicevox_core
|
|
|
|
|
|
|
34 |
|
35 |
+
# Clone VOICEVOX Engine from Master Branch
|
36 |
+
# RUN git clone --branch master https://github.com/VOICEVOX/voicevox_engine.git voicevox_engine
|
37 |
|
38 |
# ---------- Important! Temporary Downgrade to 0.15.x ----------
|
39 |
|
|
|
46 |
# Install VOICEVOX Core
|
47 |
RUN ./download.sh --output voicevox_core --version 0.15.7
|
48 |
|
49 |
+
# Clone VOICEVOX Engine from 0.23.0 Repository
|
50 |
+
RUN git clone --branch release-0.23 https://github.com/VOICEVOX/voicevox_engine.git voicevox_engine
|
51 |
+
|
52 |
# ---------- Normaly Run ----------
|
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"]
|