Add user-global site-packages to `$PYTHONPATH`

This commit is contained in:
Sviatoslav Sydorenko 2022-11-30 11:36:33 +01:00
parent 8d5f27cca4
commit d7edd4c957
No known key found for this signature in database
GPG Key ID: 9345E8FEA89CA455
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ ENV PYTHONUNBUFFERED 1
ENV PIP_NO_CACHE_DIR 1 ENV PIP_NO_CACHE_DIR 1
ENV PATH "/root/.local/bin:${PATH}" ENV PATH "/root/.local/bin:${PATH}"
ENV PYTHONPATH "/root/.local/lib/python3.9/site-packages"
COPY requirements requirements COPY requirements requirements
RUN \ RUN \