amrobot3 commited on
Commit
ccb6526
·
verified ·
1 Parent(s): 58a9bc7

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -18
Dockerfile DELETED
@@ -1,18 +0,0 @@
1
- # 使用官方 Python 3.11 瘦身镜像作为基础镜像
2
- FROM python:3.11-slim
3
-
4
- # 设置工作目录为 /app
5
- WORKDIR /app
6
-
7
- # 复制 requirements.txt 并安装依赖
8
- COPY requirements.txt .
9
- RUN pip install --no-cache-dir -r requirements.txt
10
-
11
- # 复制当前目录下的所有文件到工作目录
12
- COPY . .
13
-
14
- # 暴露端口 7860
15
- EXPOSE 7860
16
-
17
- # 使用 Uvicorn 启动应用
18
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]