# 基础镜像：带 vLLM 0.8.3 的天数智芯加速卡运行镜像
FROM harbor.4pd.io/hardcore-tech/iluvatar/llm-infer-iluvatar-mr:v0

COPY install_patch.sh fix_tokenizer.py vllm_wrapper.sh /tmp/

# 把 PATH 上的 vllm 包一层 wrapper（原二进制改名 *_real），细节见 install_patch.sh
RUN bash /tmp/install_patch.sh /tmp \
 && rm -f /tmp/install_patch.sh /tmp/fix_tokenizer.py /tmp/vllm_wrapper.sh
