init muxi
This commit is contained in:
20
metaX-C500-matcha/Dockerfile_matcha
Normal file
20
metaX-C500-matcha/Dockerfile_matcha
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM git.modelhub.org.cn:9443/enginex-metax/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}
|
||||
|
||||
RUN set -eux; \
|
||||
chmod 1777 /tmp; \
|
||||
mkdir -p /var/tmp/apt-tmp && chmod 1777 /var/tmp/apt-tmp; \
|
||||
apt-get -o Dir::Temp::=/var/tmp/apt-tmp update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -o Dir::Temp::=/var/tmp/apt-tmp install -y --no-install-recommends espeak-ng && \
|
||||
rm -rf /var/lib/apt/lists/* /var/tmp/apt-tmp
|
||||
|
||||
COPY requirements_matcha.txt constraints_matcha.txt matcha_server.py launch_matcha.sh /workspace/
|
||||
|
||||
RUN pip install -r requirements_matcha.txt -c constraints_matcha.txt
|
||||
RUN pip install matcha-tts -c constraints_matcha.txt
|
||||
|
||||
ENTRYPOINT ["/bin/bash", "launch_matcha.sh"]
|
||||
Reference in New Issue
Block a user