国内 PyPI 安装 uv 更稳

This commit is contained in:
yml
2026-04-08 17:13:52 +08:00
parent 92970780a4
commit 79c0fcb221
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends curl ca-certificates python3 python3-pip \
&& rm -rf /var/lib/apt/lists/*
RUN curl -LsSf https://astral.sh/uv/install.sh | sh \
&& ln -sf /root/.local/bin/uv /usr/local/bin/uv
RUN python3 -m pip install --no-cache-dir uv \
&& ln -sf /usr/local/bin/uv /usr/bin/uv
COPY apps/backend/package.json apps/backend/package-lock.json ./
RUN npm ci