Dockerfile: uv改用pip安装,避免ghcr.io网络不通

This commit is contained in:
yml2213
2026-06-24 16:12:27 +08:00
parent ab84355cdc
commit 2966d0d577
+2 -2
View File
@@ -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