From b0dc178d8e9955153bdd91f7aeaca24951330289 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Wed, 30 Nov 2022 11:17:12 +0100 Subject: [PATCH] Disable pip cache dir with an env var --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 24d4b27..4375694 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,8 @@ LABEL "homepage" "https://github.com/pypa/gh-action-pypi-publish" ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 +ENV PIP_NO_CACHE_DIR 1 + COPY requirements requirements RUN \ PIP_CONSTRAINT=requirements/runtime-prerequisites.txt \