Skip to content
Snippets Groups Projects
Commit 561c8a29 authored by Simon Künzel's avatar Simon Künzel
Browse files

fixup! Add package caching for CI

parent 1fe1424a
No related branches found
No related tags found
No related merge requests found
Pipeline #7320 failed
Pipeline: backend

#7321

    ...@@ -16,6 +16,8 @@ WORKDIR /code ...@@ -16,6 +16,8 @@ WORKDIR /code
    # Install and build requirements in different image too reduce final image size # Install and build requirements in different image too reduce final image size
    FROM base AS builder FROM base AS builder
    RUN python -m venv --without-pip .venv/
    # READ THE NOTE on caching in the README before changing this/for more info! # READ THE NOTE on caching in the README before changing this/for more info!
    COPY requirements.txt /code COPY requirements.txt /code
    RUN --mount=type=cache,target=/root/.cache/pip \ RUN --mount=type=cache,target=/root/.cache/pip \
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment