ARG BASE_IMAGE=vllm/vllm-openai-xpu@sha256:20509fabe50dda62c09c0786d1a6effa299d3dbdddcc49331b93e65144652a8c
FROM ${BASE_IMAGE}
# The base image also contains /workspace/vllm. Running Python there shadows
# the installed wheel in worker subprocesses and would bypass this extension.
WORKDIR /opt/dory-xpu
COPY vendor /opt/dory-xpu/vendor
COPY scripts /opt/dory-xpu/scripts
COPY tests /opt/dory-xpu/tests
RUN python /opt/dory-xpu/scripts/install_dory.py
