-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
33 lines (32 loc) · 913 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM ubuntu:jammy
WORKDIR /
RUN apt-get update && apt-get install -y \
git \
git-lfs \
ffmpeg \
libsm6 \
libxext6 \
cmake \
python3 \
python3-pip \
rsync \
libgl1-mesa-glx \
curl && \
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
git lfs install && \
git clone https://huggingface.co/spaces/Mahiruoshi/BangDream-Bert-VITS2 /vits --depth=1 && \
useradd -m -u 1000 user && \
cd /vits/ && \
pip install --no-cache-dir \
datasets \
"huggingface-hub>=0.19" \
"hf-transfer>=0.1.4" \
"protobuf<4" \
"click<8.1" \
"pydantic~=1.0" && \
pip install --no-cache-dir -r requirements.txt
WORKDIR /vits
USER user
CMD ["python3", "app.py"]