Skip to content

Commit

Permalink
FIX: Dockerビルドが失敗する問題を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
sabonerune committed Jun 24, 2024
1 parent 6208379 commit 7405c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ ADD ./run.py ./presets.yaml ./engine_manifest.json /opt/voicevox_engine/
ADD ./resources /opt/voicevox_engine/resources
ADD ./tools/generate_licenses.py /opt/voicevox_engine/tools/
ADD ./tools/licenses /opt/voicevox_engine/tools/licenses
ADD ./tools/generate_filemap.py /opt/voicevox_engine/tools/

# Replace version
ARG VOICEVOX_ENGINE_VERSION=latest
Expand All @@ -259,8 +260,7 @@ RUN <<EOF
EOF

# Generate filemap.json
ADD ./tools/generate_filemap.py /tmp/
RUN gosu user /opt/python/bin/python3 /tmp/generate_filemap.py --target_dir resources/character_info
RUN /opt/python/bin/python3 /opt/voicevox_engine/tools/generate_filemap.py --target_dir /opt/voicevox_engine/resources/character_info

# Keep this layer separated to use layer cache on download failed in local build
RUN <<EOF
Expand Down

0 comments on commit 7405c9c

Please sign in to comment.