diff --git a/images/python-script/Dockerfile b/images/python-script/Dockerfile index 522236d..2fe425b 100644 --- a/images/python-script/Dockerfile +++ b/images/python-script/Dockerfile @@ -30,6 +30,5 @@ ENV PATH=/home/runner/.local/bin:$PATH COPY requirements.txt ./ -RUN set -e; \ - pip install --user -r requirements.txt; \ - rm -r /home/runner/.cache; +RUN --mount=type=cache,id=pip-cache,target=/home/runner/.cache/pip \ + pip install --user -r requirements.txt;