neuroama commited on
Commit
5a8822f
·
1 Parent(s): 1160aad

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -4,6 +4,7 @@ FROM pytorch/pytorch:1.9.0-cuda10.2-cudnn7-runtime
4
 
5
  # 安装 Git
6
  RUN apt-get update && apt-get install -y git
 
7
 
8
  # 克隆 Transformers 仓库
9
  RUN git clone https://github.com/huggingface/transformers.git /workspace/transformers
@@ -15,8 +16,10 @@ RUN git clone https://huggingface.co/spaces/neuroama/so-vits-svc
15
  # 设置工作目录
16
  WORKDIR /workspace/so-vits-svc
17
 
18
- # 安装 Transformers 依赖
19
 
20
 
 
 
 
21
  # 定义容器启动时运行的命令
22
  CMD ["python", "app.py"]
 
4
 
5
  # 安装 Git
6
  RUN apt-get update && apt-get install -y git
7
+ RUN apt-get install -y pip
8
 
9
  # 克隆 Transformers 仓库
10
  RUN git clone https://github.com/huggingface/transformers.git /workspace/transformers
 
16
  # 设置工作目录
17
  WORKDIR /workspace/so-vits-svc
18
 
 
19
 
20
 
21
+ # 安装 Transformers 依赖
22
+ RUN pip install requirements.txt
23
+
24
  # 定义容器启动时运行的命令
25
  CMD ["python", "app.py"]