Skip to content

Commit

Permalink
Install Twine in the user-global site-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Nov 30, 2022
1 parent b0dc178 commit 8d5f27c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ ENV PYTHONUNBUFFERED 1

ENV PIP_NO_CACHE_DIR 1

ENV PATH "/root/.local/bin:${PATH}"

COPY requirements requirements
RUN \
PIP_CONSTRAINT=requirements/runtime-prerequisites.txt \
pip install --upgrade --no-cache-dir \
pip install --user --upgrade --no-cache-dir \
-r requirements/runtime-prerequisites.in && \
PIP_CONSTRAINT=requirements/runtime.txt \
pip install --upgrade --no-cache-dir --prefer-binary \
pip install --user --upgrade --no-cache-dir --prefer-binary \
-r requirements/runtime.in

WORKDIR /app
Expand Down

0 comments on commit 8d5f27c

Please sign in to comment.