diff --git a/Dockerfile b/Dockerfile index e99634a..bf6e3b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -111,7 +111,7 @@ RUN pip wheel \ -w /wheels # ── ✅ 打包 gradio UI 所需依赖 ──────────────────────────────────────────────── -RUN pip wheel "gradio==4.49.0" requests -w /wheels +RUN pip wheel "gradio==5.9.1" requests -w /wheels ############################################################################### # Stage 2 ─ runtime:极简运行镜像,仅离线安装 wheel @@ -149,7 +149,7 @@ RUN ls -lh /tmp/wheels && \ 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 /tmp/wheels/gradio-4.49.0*.whl && \ + python3 -m pip install --no-cache-dir --no-deps /tmp/wheels/gradio-5.9.1.0*.whl && \ python3 -c "import gradio, sys; print('✅ Gradio version =', gradio.__version__)" && \ rm -rf /tmp/wheels