[Bugfix][CPU] Ship examples/ in the CPU release image (#47447)

Signed-off-by: liejiang <jianglie2023@gmail.com>
This commit is contained in:
AgenticSpark
2026-07-03 11:46:24 +00:00
committed by GitHub
parent a14f57a3ac
commit 978de83353
+6
View File
@@ -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"]