Disable pip cache dir with an env var

This commit is contained in:
Sviatoslav Sydorenko 2022-11-30 11:17:12 +01:00
parent bbf6e0b2f0
commit b0dc178d8e
No known key found for this signature in database
GPG Key ID: 9345E8FEA89CA455
1 changed files with 2 additions and 0 deletions

View File

@ -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 \