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

fixup! Add package caching for CI

parent 146b0444
Branches
Tags
No related merge requests found
Pipeline #7301 failed
Pipeline: backend

#7302

    ...@@ -7,7 +7,7 @@ ARG PIP_CACHE_DIR ...@@ -7,7 +7,7 @@ ARG PIP_CACHE_DIR
    ENV VIDEOAG_API_GIT_COMMIT_HASH $GIT_COMMIT_SHA ENV VIDEOAG_API_GIT_COMMIT_HASH $GIT_COMMIT_SHA
    RUN ls -la /builds/videoag/backend/.cache/pip RUN ls -la /builds/videoag/backend/.cache/pip || true
    COPY extra_requirements.txt ./ COPY extra_requirements.txt ./
    RUN --mount=type=cache,target=/root/.cache/pip \ RUN --mount=type=cache,target=/root/.cache/pip \
    pip3 install -r extra_requirements.txt pip3 install -r extra_requirements.txt
    ......
    ...@@ -7,7 +7,7 @@ WORKDIR /code ...@@ -7,7 +7,7 @@ WORKDIR /code
    RUN mkdir -p /code RUN mkdir -p /code
    WORKDIR /code WORKDIR /code
    RUN ls -la /builds/videoag/backend/.cache/pip RUN ls -la /builds/videoag/backend/.cache/pip || true
    COPY requirements.txt /code COPY requirements.txt /code
    RUN --mount=type=cache,target=/root/.cache/pip \ RUN --mount=type=cache,target=/root/.cache/pip \
    pip3 install -r requirements.txt pip3 install -r requirements.txt
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment