Files
deepseek-r1-kunlun-INT8/image_build/Dockerfile

12 lines
489 B
Docker
Raw Normal View History

2026-10-30 17:29:26 +08:00
ARG BASE_IMAGE=xc-llm-kunlun:v0.25.1
FROM ${BASE_IMAGE}
USER root
COPY apply_patches.py routing_compat.py test_route_p800.py serve_deepseek.sh /opt/kunlun-deepseek-fixes/
RUN /opt/vllm_kunlun/bin/python /opt/kunlun-deepseek-fixes/apply_patches.py \
&& /opt/vllm_kunlun/bin/python /opt/kunlun-deepseek-fixes/apply_patches.py --check \
&& bash -n /opt/kunlun-deepseek-fixes/serve_deepseek.sh
ENV PATH="/opt/vllm_kunlun/bin:${PATH}"
WORKDIR /workspace
ENTRYPOINT []
CMD ["/bin/bash"]