Dockerfile: uv改用pip安装,避免ghcr.io网络不通
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user