Mahiruoshi commited on
Commit
20d97d4
1 Parent(s): 9b15f17

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -3
Dockerfile CHANGED
@@ -1,3 +1,14 @@
1
- FROM registry.hf.space/mahiruoshi-bangdream-bert-vits2:latest
2
- RUN pip install Flask Flask-CORS openai
3
- CMD ["python", "server.py"]
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 使用 continuumio/miniconda3 作为基础镜像
2
+ FROM continuumio/miniconda3
3
+
4
+ # 设置工作目录为 /app
5
+ WORKDIR /app
6
+
7
+ # 将当前目录下的所有文件复制到容器中的工作目录
8
+ COPY . /app
9
+
10
+ # 使用pip安装依赖
11
+ RUN pip install -r requirements.txt
12
+
13
+ # 容器启动时执行 server.py
14
+ CMD ["python", "server.py"]