From 2966d0d5779f6dc7315a1f9749e6b6704a86dc0a Mon Sep 17 00:00:00 2001 From: yml2213 Date: Wed, 24 Jun 2026 16:12:27 +0800 Subject: [PATCH] =?UTF-8?q?Dockerfile:=20uv=E6=94=B9=E7=94=A8pip=E5=AE=89?= =?UTF-8?q?=E8=A3=85=EF=BC=8C=E9=81=BF=E5=85=8Dghcr.io=E7=BD=91=E7=BB=9C?= =?UTF-8?q?=E4=B8=8D=E9=80=9A?= 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 044bdc0..0218f34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libglib2.0-0 \ && rm -rf /var/lib/apt/lists/* -# 安装 uv 用于快速安装依赖 -COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv +# 安装 uv(通过 pip,避免依赖 ghcr.io 国内网络问题) +RUN pip install uv WORKDIR /app