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

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 \