Skip to content

Commit 8d5f27c

Browse files
committed
Install Twine in the user-global site-packages
1 parent b0dc178 commit 8d5f27c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ ENV PYTHONUNBUFFERED 1
99

1010
ENV PIP_NO_CACHE_DIR 1
1111

12+
ENV PATH "/root/.local/bin:${PATH}"
13+
1214
COPY requirements requirements
1315
RUN \
1416
PIP_CONSTRAINT=requirements/runtime-prerequisites.txt \
15-
pip install --upgrade --no-cache-dir \
17+
pip install --user --upgrade --no-cache-dir \
1618
-r requirements/runtime-prerequisites.in && \
1719
PIP_CONSTRAINT=requirements/runtime.txt \
18-
pip install --upgrade --no-cache-dir --prefer-binary \
20+
pip install --user --upgrade --no-cache-dir --prefer-binary \
1921
-r requirements/runtime.in
2022

2123
WORKDIR /app

0 commit comments

Comments
 (0)