fix(setup): improve precompiled wheel setup for Docker builds (#22025)

Signed-off-by: dougbtv <dosmith@redhat.com>
This commit is contained in:
Doug Smith
2025-07-31 12:52:48 -04:00
committed by GitHub
parent 7349d5268b
commit 58bb902186
3 changed files with 104 additions and 124 deletions

View File

@@ -370,6 +370,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
fi
# Install vllm wheel first, so that torch etc will be installed.
# !bang
RUN --mount=type=bind,from=build,src=/workspace/dist,target=/vllm-workspace/dist \
--mount=type=cache,target=/root/.cache/uv \
uv pip install --system dist/*.whl --verbose \