init muxi
This commit is contained in:
21
metaX-C500-kokoro/Dockerfile_kokoro
Normal file
21
metaX-C500-kokoro/Dockerfile_kokoro
Normal file
@@ -0,0 +1,21 @@
|
||||
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}
|
||||
|
||||
USER root
|
||||
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_kokoro.txt constraints_kokoro.txt kokoro_server.py en_core_web_sm-3.8.0.tar.gz /workspace/
|
||||
RUN pip install -r requirements_kokoro.txt -c constraints_kokoro.txt
|
||||
RUN pip install en_core_web_sm-3.8.0.tar.gz
|
||||
|
||||
COPY launch_kokoro.sh /workspace/
|
||||
ENTRYPOINT ["/bin/bash", "launch_kokoro.sh"]
|
||||
Reference in New Issue
Block a user