国内 PyPI 安装 uv 更稳
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user