Skip to content

Commit

Permalink
voicevox用テストno2
Browse files Browse the repository at this point in the history
  • Loading branch information
MG8853 committed Apr 14, 2024
1 parent bc2bbd4 commit e03705c
Showing 1 changed file with 5 additions and 32 deletions.
37 changes: 5 additions & 32 deletions VOICEVOX_engine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,42 +51,15 @@ RUN apt-get install -y \
gosu \
libsndfile1

#RUN cd / && \
# wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.11.0%2Bcpu.zip && \
# unzip libtorch-cxx11-abi-shared-with-deps-1.11.0+cpu.zip
RUN useradd -m -d /home/container container

#ENV LD_LIBRARY_PATH=/libtorch/lib

#RUN cd / && \
# wget https://github.com/microsoft/onnxruntime/releases/download/v1.10.0/onnxruntime-linux-x64-1.10.0.tgz && \
# tar xzf onnxruntime-linux-x64-1.10.0.tgz && \
# mv onnxruntime-linux-x64-1.10.0 onnxruntime

#ENV DYLD_LIBRARY_PATH=/onnxruntime/lib

#RUN cd / && \
# curl -s https://api.github.com/repos/VOICEVOX/voicevox_core/releases/latest \
# | grep "browser_download_url.*core.zip" \
# | cut -d : -f 2,3 \
# | tr -d \" \
# | wget -qi -
#RUN cd / && \
# wget https://github.com/VOICEVOX/voicevox_core/releases/download/0.12.0-preview.3/voicevox_core-linux-x64-cpu-0.12.0-preview.3.zip
#RUN cd / && \
# unzip voicevox_core-linux-x64-cpu-0.12.0-preview.3.zip \
# && mv voicevox_core-linux-x64-cpu-0.12.0-preview.3 voicevox_core
# && rm -fr voicevox_core/libcore.so \
# && mv voicevox_core/libcore_cpu_x64.so voicevox_core/libcore.so

#ENV VOICEVOX_CORE="/voicevox_core/libcore.so"

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

STOPSIGNAL SIGINT

COPY entrypoint.sh /entrypoint.sh
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]

0 comments on commit e03705c

Please sign in to comment.