init
This commit is contained in:
24
piper/Dockerfile_piper
Normal file
24
piper/Dockerfile_piper
Normal file
@@ -0,0 +1,24 @@
|
||||
FROM git.modelhub.org.cn:9443/enginex-kunlunxin/xmlir/r200-8f_xmlir-ubuntu_2004_x86_64:v0.27
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
ADD xpytorch-cp38-torch201-ubuntu2004-x64-socket.run /workspace/
|
||||
|
||||
RUN source /root/miniconda/etc/profile.d/conda.sh && conda activate python38_torch201_cuda && \
|
||||
./xpytorch-cp38-torch201-ubuntu2004-x64-socket.run
|
||||
|
||||
ADD . /workspace/
|
||||
|
||||
COPY requirements_piper.txt constraints_piper.txt piper_server.py launch_piper.sh /workspace/
|
||||
COPY piper /workspace/piper
|
||||
|
||||
RUN source /root/miniconda/etc/profile.d/conda.sh && conda activate python38_torch201_cuda && \
|
||||
pip install -r requirements_piper.txt
|
||||
|
||||
RUN source /root/miniconda/etc/profile.d/conda.sh && conda activate python38_torch201_cuda && \
|
||||
cd /workspace/piper/src/python && pip install -e . && ./build_monotonic_align.sh
|
||||
|
||||
ENTRYPOINT ["/bin/bash", "-c", "source /root/miniconda/etc/profile.d/conda.sh && conda activate python38_torch201_cuda && ./launch_piper.sh"]
|
||||
|
||||
Reference in New Issue
Block a user