ikechan8370's picture
Add Dockerfile. (#2)
7e90749
raw
history blame contribute delete
487 Bytes
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" ]