File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -137,8 +137,8 @@ WORKDIR /workspace
137137# install build and runtime dependencies
138138COPY requirements/common.txt requirements/common.txt
139139COPY requirements/cuda.txt requirements/cuda.txt
140- RUN --mount=type=cache,target=/root/.cache/uv \
141- uv pip install --python python3 -r requirements/cuda.txt \
140+ RUN --mount=type=cache,target=/root/.cache/pip \
141+ python3 -m pip install --break-system-packages -r requirements/cuda.txt \
142142 --extra-index-url ${PYTORCH_CUDA_INDEX_BASE_URL}/cu$(echo $CUDA_VERSION | cut -d. -f1,2 | tr -d '.' )
143143
144144# cuda arch list used by torch
@@ -167,8 +167,8 @@ ENV UV_INDEX_STRATEGY="unsafe-best-match"
167167# Use copy mode to avoid hardlink failures with Docker cache mounts
168168ENV UV_LINK_MODE=copy
169169
170- RUN --mount=type=cache,target=/root/.cache/uv \
171- uv pip install --python python3 -r requirements/build.txt \
170+ RUN --mount=type=cache,target=/root/.cache/pip \
171+ python3 -m pip install --break-system-packages -r requirements/build.txt \
172172 --extra-index-url ${PYTORCH_CUDA_INDEX_BASE_URL}/cu$(echo $CUDA_VERSION | cut -d. -f1,2 | tr -d '.' )
173173
174174COPY . .
You can’t perform that action at this time.
0 commit comments