From 75f8fee8e912b6ff529a730d4b37f68fbc483269 Mon Sep 17 00:00:00 2001 From: hailin Date: Wed, 2 Jul 2025 14:24:37 +0800 Subject: [PATCH] . --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 11c1335..6b0b570 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ COPY --from=builder-torch /opt/pytorch/dist /tmp/torch_dist RUN set -e && \ echo "==> Files in /tmp/torch_dist:" && ls -lh /tmp/torch_dist && \ - find /tmp/torch_dist -name 'torch-*.whl' -print | xargs -r python3 -m pip install --no-cache-dir && \ + find /tmp/torch_dist -name 'torch-*.whl' -print | xargs -r python3 -m pip install --no-cache-dir + # ── 编译 torchvision 0.22.1 (依赖本地 torch) ────────────────────────────────