mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-22 08:31:08 -05:00
Build Docker image from locked dependencies
This commit is contained in:
parent
8438fe75b3
commit
189b3990de
1 changed files with 4 additions and 6 deletions
|
@ -16,12 +16,10 @@ ENV PYTHONPATH "/root/.local/lib/python3.12/site-packages"
|
||||||
|
|
||||||
COPY requirements requirements
|
COPY requirements requirements
|
||||||
RUN \
|
RUN \
|
||||||
PIP_CONSTRAINT=requirements/runtime-prerequisites.txt \
|
|
||||||
pip install --user --upgrade --no-cache-dir \
|
pip install --user --upgrade --no-cache-dir \
|
||||||
-r requirements/runtime-prerequisites.in && \
|
-r requirements/runtime-prerequisites.txt && \
|
||||||
PIP_CONSTRAINT=requirements/runtime.txt \
|
|
||||||
pip install --user --upgrade --no-cache-dir --prefer-binary \
|
pip install --user --upgrade --no-cache-dir --prefer-binary \
|
||||||
-r requirements/runtime.in
|
-r requirements/runtime.txt
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY LICENSE.md .
|
COPY LICENSE.md .
|
||||||
|
|
Loading…
Reference in a new issue