sanbo1200 commited on
Commit
dbfb996
·
verified ·
1 Parent(s): 34d5b38

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -20
Dockerfile CHANGED
@@ -1,20 +1 @@
1
- # 使用官方的 Python 3.11 作为基础镜像
2
- FROM python:3.11-slim
3
-
4
- # 设置工作目录
5
- WORKDIR /app
6
-
7
- # 复制当前目录的所有文件到容器中的 /app 目录
8
- COPY . /app
9
-
10
- # 调试:查看容器内 /app 目录的文件,确保 requirements.txt 在其中
11
- RUN ls -l /app
12
-
13
- # 安装依赖
14
- RUN pip install --no-cache-dir -r requirements.txt
15
-
16
- # 暴露端口 7860
17
- EXPOSE 7860
18
-
19
- # 运行 Flask 应用
20
- CMD ["python", "app250106.py"]
 
1
+ FROM ghcr.io/hhhaiai/de:latest