Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +7 -12
Dockerfile
CHANGED
@@ -22,18 +22,13 @@ WORKDIR $HOME/app
|
|
22 |
COPY --chown=user . $HOME/app
|
23 |
|
24 |
# Download VOICEVOX Core from latest Release
|
25 |
-
RUN curl -
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
entry=$(find . -mindepth 1 -maxdepth 1) && \
|
33 |
-
count=$(echo "$entry" | wc -l) && \
|
34 |
-
[ "$count" -eq 1 ] && \
|
35 |
-
mv "$entry"/* . && \
|
36 |
-
rmdir "$entry"
|
37 |
|
38 |
# Clone VOICEVOX Engine from Git Repository
|
39 |
RUN git clone https://github.com/VOICEVOX/voicevox_engine.git voicevox_engine
|
|
|
22 |
COPY --chown=user . $HOME/app
|
23 |
|
24 |
# Download VOICEVOX Core from latest Release
|
25 |
+
RUN curl -sSfL https://github.com/VOICEVOX/voicevox_core/releases/latest/download/download-linux-x64 --output download
|
26 |
+
|
27 |
+
# Give execution permissions
|
28 |
+
RUN chmod +x ./download
|
29 |
+
|
30 |
+
# Install VOICEVOX Core
|
31 |
+
RUN ./download --output voicevox_core
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
# Clone VOICEVOX Engine from Git Repository
|
34 |
RUN git clone https://github.com/VOICEVOX/voicevox_engine.git voicevox_engine
|