From f07e227ee9acdb8d7e48d69f178c897fb54ecd88 Mon Sep 17 00:00:00 2001 From: Alec <35311602+alec-flowers@users.noreply.github.com> Date: Mon, 21 Sep 2026 20:03:03 -0700 Subject: [PATCH] [Docker] Expose bundled vllm-rs on PATH (#57606) Signed-off-by: Alec Flowers Signed-off-by: Alec <35311602+alec-flowers@users.noreply.github.com> Co-authored-by: Codex Co-authored-by: Bugen Zhao --- docker/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 5fd25f5388..0628e3f86a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1063,6 +1063,10 @@ RUN --mount=type=bind,from=build,src=/workspace/dist,target=/vllm-workspace/dist --extra-index-url ${PYTORCH_CUDA_INDEX_BASE_URL}/cu$(echo $CUDA_VERSION | cut -d. -f1,2 | tr -d '.'); \ fi +# Expose the Rust frontend bundled in the wheel on the container's PATH. +RUN ln -s "$(python3 -c 'import sysconfig; print(sysconfig.get_path("platlib"))')/vllm/vllm-rs" /usr/local/bin/vllm-rs \ + && vllm-rs --version + RUN --mount=type=cache,target=/opt/uv/cache \ . /etc/environment && \ uv pip list