PorYoung commited on
Commit
6df1a2b
1 Parent(s): 590bfce

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -7
Dockerfile CHANGED
@@ -1,14 +1,15 @@
1
- FROM python:3.9
 
2
 
3
- WORKDIR /work
4
 
5
- RUN git clone https://github.com/svc-develop-team/so-vits-svc.git && cd so-vits-svc
6
 
7
- RUN ["apt", "update"]
8
- RUN ["apt", "install", "-y", "gcc-9 g++-9", "build-essential", "python3-dev", "libpython3.9-dev"]
9
- RUN ["apt", "install", "-y", "sox", "ffmpeg", "libcairo2", "libcairo2-dev", "libgirepository1.0-dev"]
10
- RUN ["pip", "install", "-U", "pip", "setuptools", "wheel"]
11
 
 
12
  RUN pip install --no-cache-dir --upgrade -r /work/so-vits-svc/requirements.txt
13
 
14
  ENV SERVER_NAME="0.0.0.0"
 
1
+ FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu20.04
2
+ LABEL maintainer="Hugging Face"
3
 
4
+ ARG DEBIAN_FRONTEND=noninteractive
5
 
6
+ WORKDIR /work
7
 
8
+ RUN apt update
9
+ RUN apt install -y git libsndfile1-dev tesseract-ocr espeak-ng python3 python3-pip ffmpeg
10
+ RUN python3 -m pip install --no-cache-dir --upgrade pip
 
11
 
12
+ RUN git clone https://github.com/svc-develop-team/so-vits-svc.git && cd so-vits-svc
13
  RUN pip install --no-cache-dir --upgrade -r /work/so-vits-svc/requirements.txt
14
 
15
  ENV SERVER_NAME="0.0.0.0"