init ascend tts
This commit is contained in:
20
ascend_910-kokoro/Dockerfile_kokoro
Normal file
20
ascend_910-kokoro/Dockerfile_kokoro
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM quay.io/ascend/vllm-ascend:v0.10.0rc1
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
RUN cp /etc/apt/sources.list /etc/apt/sources.list.bak && \
|
||||
echo "deb [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ jammy main restricted universe multiverse" > /etc/apt/sources.list && \
|
||||
echo "deb [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ jammy-updates main restricted universe multiverse" >> /etc/apt/sources.list && \
|
||||
echo "deb [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ jammy-backports main restricted universe multiverse" >> /etc/apt/sources.list && \
|
||||
echo "deb [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ jammy-security main restricted universe multiverse" >> /etc/apt/sources.list && \
|
||||
apt-get update && \
|
||||
apt-get install -y espeak-ng && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
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 --no-index 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