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) ────────────────────────────────