From 991f5c81a8028857001b1e139810cbd41c25d0b6 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 27 Jul 2025 15:21:08 +0800 Subject: [PATCH] . --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6520315..038ac28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -148,11 +148,12 @@ RUN ls -lh /tmp/wheels && \ python3 -m pip install --no-cache-dir --no-deps /tmp/wheels/torch*.whl && \ python3 -m pip install --no-cache-dir --no-deps /tmp/wheels/vllm-*.whl && \ python3 -m pip install --no-cache-dir --no-deps /tmp/wheels/sgl_kernel-*.whl && \ - python3 -m pip install --no-cache-dir --no-deps $(ls /tmp/wheels | grep -v '^gradio-') && \ + python3 -m pip install --no-cache-dir --no-deps $(ls /tmp/wheels | grep -v '^gradio-' | sed 's|^|/tmp/wheels/|') && \ python3 -m pip install --no-cache-dir --no-deps $(find /tmp/wheels -maxdepth 1 -type f -name '*.whl' ! -name 'gradio-*') && \ python3 -c "import gradio, sys; print('✅ Gradio version =', gradio.__version__)" && \ rm -rf /tmp/wheels + # ✅ 安装 Prometheus client RUN python3 -m pip install --no-cache-dir prometheus_client