yangzehan commited on
Commit
8b75435
·
1 Parent(s): 476896f

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 使用 Python 3.9 镜像作为基础镜像
2
+ FROM python:3.9
3
+
4
+ # 设置工作目录
5
+ WORKDIR /app
6
+
7
+ # 克隆 GitHub 存储库的内容
8
+ RUN git clone https://github.com/kevin-meng/HuggingfaceDownloadShare.git
9
+
10
+ # 切换到克隆的存储库目录
11
+ WORKDIR /app/HuggingfaceDownloadShare
12
+
13
+ # 安装依赖项
14
+ RUN pip install -r requirements.txt
15
+
16
+ # 指定容器启动命令(示例中为一个占位的命令,你可以根据你的需求修改)
17
+ CMD ["python", "app.py"]