mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-12-27 09:32:15 -05:00
Install Twine in the user-global site-packages
This commit is contained in:
parent
b0dc178d8e
commit
8d5f27cca4
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue