From 2f8e547e0338ee1c329bf42dc56b511e0125aaa2 Mon Sep 17 00:00:00 2001 From: carry <2641257231@qq.com> Date: Wed, 19 Feb 2025 14:41:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E7=9A=84=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5cb7d1e..47f904a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # 使用Python官方镜像 -FROM python:3.9-slim +FROM python:3.11-slim # 设置工作目录 WORKDIR /app @@ -8,7 +8,7 @@ WORKDIR /app COPY requirements.txt . # 安装依赖 -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple # 复制项目文件 COPY . .