Skip to content

Commit 75cbb15

Browse files
committed
update
Signed-off-by: Tyler Michael Smith <[email protected]>
1 parent 2473a31 commit 75cbb15

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docker/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ WORKDIR /workspace
137137
# install build and runtime dependencies
138138
COPY requirements/common.txt requirements/common.txt
139139
COPY 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
168168
ENV 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

174174
COPY . .

0 commit comments

Comments
 (0)