From 5f831a66cce42dc4f316c18023973a41ec682d37 Mon Sep 17 00:00:00 2001 From: i-peixingyu Date: Mon, 27 Apr 2026 13:12:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20NV=20A100=20Patched=20?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E5=90=88=E5=B9=B6/Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NV A100 Patched 镜像合并/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 NV A100 Patched 镜像合并/Dockerfile diff --git a/NV A100 Patched 镜像合并/Dockerfile b/NV A100 Patched 镜像合并/Dockerfile new file mode 100644 index 0000000..2849441 --- /dev/null +++ b/NV A100 Patched 镜像合并/Dockerfile @@ -0,0 +1,13 @@ +FROM harbor.4pd.io/dooke/vllm/vllm/vllm-openai:v0.11.0 + +# 修复1:transformers 库级 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"] \ No newline at end of file