nevreal commited on
Commit
e8f1ecb
·
verified ·
1 Parent(s): 56291a9

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -47
Dockerfile DELETED
@@ -1,47 +0,0 @@
1
- # syntax=docker/dockerfile:1
2
-
3
- FROM nvidia/cuda:11.6.2-cudnn8-runtime-ubuntu20.04
4
-
5
- EXPOSE 7865
6
-
7
- WORKDIR /app
8
-
9
- COPY . .
10
-
11
- # Install dependenceis to add PPAs
12
- RUN apt-get update && \
13
- apt-get install -y -qq ffmpeg aria2 && apt clean && \
14
- apt-get install -y software-properties-common && \
15
- apt-get clean && \
16
- rm -rf /var/lib/apt/lists/*
17
-
18
- # Add the deadsnakes PPA to get Python 3.9
19
- RUN add-apt-repository ppa:deadsnakes/ppa
20
-
21
- # Install Python 3.9 and pip
22
- RUN apt-get update && \
23
- apt-get install -y build-essential python-dev python3-dev python3.9-distutils python3.9-dev python3.9 curl && \
24
- apt-get clean && \
25
- update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 && \
26
- curl https://bootstrap.pypa.io/get-pip.py | python3.9
27
-
28
- # Set Python 3.9 as the default
29
- RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.9 1
30
-
31
- RUN python3 -m pip install --no-cache-dir -r requirements.txt
32
-
33
- RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/D40k.pth -d assets/pretrained_v2/ -o D40k.pth
34
- RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/G40k.pth -d assets/pretrained_v2/ -o G40k.pth
35
- RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0D40k.pth -d assets/pretrained_v2/ -o f0D40k.pth
36
- RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0G40k.pth -d assets/pretrained_v2/ -o f0G40k.pth
37
-
38
- RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP2-人声vocals+非人声instrumentals.pth -d assets/uvr5_weights/ -o HP2-人声vocals+非人声instrumentals.pth
39
- RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP5-主旋律人声vocals+其他instrumentals.pth -d assets/uvr5_weights/ -o HP5-主旋律人声vocals+其他instrumentals.pth
40
-
41
- RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt -d assets/hubert -o hubert_base.pt
42
-
43
- RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/rmvpe.pt -d assets/rmvpe -o rmvpe.pt
44
-
45
- VOLUME [ "/app/weights", "/app/opt" ]
46
-
47
- CMD ["python3", "app.py"]