mount cache
This commit is contained in:
parent
d396298130
commit
befd3caa1d
@ -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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user