mount cache

This commit is contained in:
Michael Pilosov 2026-05-16 22:22:51 -06:00
parent d396298130
commit befd3caa1d

View File

@ -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 \