install cached wheels to speed up docker build
This commit is contained in:
parent
321c5e7094
commit
2db137a3a0
2 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ RUN mv /neodb/neodb-takahe /takahe
|
||||||
|
|
||||||
WORKDIR /neodb
|
WORKDIR /neodb
|
||||||
RUN python -m venv /neodb-venv
|
RUN python -m venv /neodb-venv
|
||||||
|
RUN find misc/wheels-cache -type f | xargs -n 1 /neodb-venv/bin/python3 -m pip install || echo incompatible wheel ignored
|
||||||
|
RUN rm -rf misc/wheels-cache
|
||||||
RUN --mount=type=cache,sharing=locked,target=/root/.cache /neodb-venv/bin/python3 -m pip install --upgrade -r requirements.txt
|
RUN --mount=type=cache,sharing=locked,target=/root/.cache /neodb-venv/bin/python3 -m pip install --upgrade -r requirements.txt
|
||||||
|
|
||||||
WORKDIR /takahe
|
WORKDIR /takahe
|
||||||
|
|
BIN
misc/wheels-cache/libsass-0.22.0-cp311-abi3-linux_aarch64.whl
Normal file
BIN
misc/wheels-cache/libsass-0.22.0-cp311-abi3-linux_aarch64.whl
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue