Files
K100-vllm/NV A100 Patched 镜像合并/Dockerfile

13 lines
399 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM harbor.4pd.io/dooke/vllm/vllm/vllm-openai:v0.11.0
# 修复1transformers 库级 patch
COPY patch.py /tmp/patch.py
RUN python3 /tmp/patch.py
# 修复2运行时 tokenizer 配置修复脚本
COPY detect_tokenizer.py /opt/detect_tokenizer.py
COPY fix_tokenizer.py /opt/fix_tokenizer.py
COPY entrypoint.sh /opt/entrypoint.sh
RUN chmod +x /opt/entrypoint.sh
ENTRYPOINT ["/opt/entrypoint.sh"]