neuroama commited on
Commit
1ce4fcd
·
1 Parent(s): 4897725

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -7,7 +7,9 @@ RUN apt-get update && apt-get install -y git
7
 
8
  # 克隆 Transformers 仓库
9
  RUN git clone https://github.com/huggingface/transformers.git /workspace/transformers
10
- RUN git lfs install
 
 
11
  RUN git clone https://huggingface.co/spaces/neuroama/so-vits-svc
12
 
13
  # 设置工作目录
@@ -17,4 +19,4 @@ WORKDIR /workspace/transformers
17
  RUN pip install --no-cache-dir -r requirements.txt
18
 
19
  # 定义容器启动时运行的命令
20
- CMD ["bash"]
 
7
 
8
  # 克隆 Transformers 仓库
9
  RUN git clone https://github.com/huggingface/transformers.git /workspace/transformers
10
+
11
+ RUN apt-get update && apt-get install -y git-lfs && git lfs install
12
+
13
  RUN git clone https://huggingface.co/spaces/neuroama/so-vits-svc
14
 
15
  # 设置工作目录
 
19
  RUN pip install --no-cache-dir -r requirements.txt
20
 
21
  # 定义容器启动时运行的命令
22
+ CMD ["python", "app.py"]