From 978de8335305fe99b610109254e7e3037a735948 Mon Sep 17 00:00:00 2001 From: AgenticSpark Date: Fri, 3 Jul 2026 04:46:24 -0700 Subject: [PATCH] [Bugfix][CPU] Ship examples/ in the CPU release image (#47447) Signed-off-by: liejiang --- docker/Dockerfile.cpu | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/Dockerfile.cpu b/docker/Dockerfile.cpu index df0a67ec3e..ee5d5daf64 100644 --- a/docker/Dockerfile.cpu +++ b/docker/Dockerfile.cpu @@ -301,6 +301,12 @@ LABEL ai.vllm.build.cpu-x86="${VLLM_CPU_X86:-false}" LABEL ai.vllm.build.cpu-arm-bf16="${VLLM_CPU_ARM_BF16:-false}" LABEL ai.vllm.build.python-version="${PYTHON_VERSION:-3.12}" +# Copy the examples directory (including the chat/tool templates) so it is +# present in the released image, as the CUDA image ships it too. The vllm-test +# stage above adds examples/ for testing only, so without this the published +# vllm-openai-cpu image would not ship examples/*.jinja. +COPY examples examples + ENTRYPOINT ["vllm", "serve"]