FROM registry.iluvatar.com.cn:10443/customer/sz/vllm0.11.2-4.4.0-x86:v8

# Keep the runtime stack from the known-good v8 image, but replace the
# installed Python package with the repository's patched 0.16.1rc0 sources.
WORKDIR /tmp

RUN rm -rf /usr/local/lib/python3.12/dist-packages/vllm \
           /usr/local/lib/python3.12/dist-packages/vllm-*.dist-info

COPY vllm /usr/local/lib/python3.12/dist-packages/vllm
COPY vllm-0.16.1rc0+corex.4.4.0.dist-info /usr/local/lib/python3.12/dist-packages/vllm-0.16.1rc0+corex.4.4.0.dist-info
