15 lines
467 B
Plaintext
15 lines
467 B
Plaintext
FROM maca-c500-pytorch:2.33.0.6-torch2.6-py310-ubuntu24.04-amd64
|
|
|
|
WORKDIR /workspace
|
|
|
|
ENV CONDA_DIR=/opt/conda
|
|
ENV PATH=${CONDA_DIR}/bin:${PATH}
|
|
|
|
COPY requirements_piper.txt constraints_piper.txt piper_server.py launch_piper.sh /workspace/
|
|
COPY piper /workspace/piper
|
|
|
|
RUN pip install -r requirements_piper.txt -c constraints_piper.txt
|
|
RUN cd /workspace/piper/src/python && pip install -e . && ./build_monotonic_align.sh
|
|
|
|
ENTRYPOINT ["/bin/bash", "launch_piper.sh"]
|