12 lines
489 B
Docker
12 lines
489 B
Docker
|
|
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"]
|