From befd3caa1d52cf327f4e430a2396dc39c4a59060 Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Sat, 16 May 2026 22:22:51 -0600 Subject: [PATCH] mount cache --- build/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index ea74726..23142bf 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -19,7 +19,8 @@ RUN apt-get update \ # part in dependency resolution -- otherwise junk squatted packages there (e.g. "FASTAPI") # outrank the real ones. Then install it with real PyPI as the index, CUDA torch from the # PyTorch index (its +cu126 build outranks the plain wheel by local-version ordering). -RUN pip download --no-deps --dest /tmp/pkg \ +RUN --mount=type=cache,target=/root/.cache/pip \ + pip download --no-deps --dest /tmp/pkg \ --index-url https://test.pypi.org/simple/ \ "rmbg-as-a-service==0.0.2" \ && pip install \