File size: 487 Bytes
309d558
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
FROM python:3.9-bullseye
VOLUME ["/app"]
WORKDIR /app
# Set apt to Chinese mirror
RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
RUN apt-get update && apt-get -y install cmake git
RUN git clone https://huggingface.co/spaces/ikechan8370/vits-uma-genshin-honkai
WORKDIR /app/vits-uma-genshin-honkai
RUN sed -i "s/\.launch()/\.launch(server_name=\"0.0.0.0\")/" /app/vits-uma-genshin-honkai/app.py
ADD vits.sh /app/vits.sh
EXPOSE 7860
ENTRYPOINT [ "/app/vits.sh" ]