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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -16,10 +16,12 @@ RUN git clone https://huggingface.co/spaces/neuroama/so-vits-svc
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"]
 
16
  # 设置工作目录
17
  WORKDIR /workspace/so-vits-svc
18
 
19
+ COPY so-vits-svc/requirements.txt .
20
+
21
 
22
 
23
  # 安装 Transformers 依赖
24
+ RUN pip install --no-cache-dir -r requirements.txt
25
 
26
  # 定义容器启动时运行的命令
27
  CMD ["python", "app.py"]