mirror of
https://codeberg.org/hyperreal/archive-fandom-wiki
synced 2024-11-01 16:43:07 +01:00
refactor: combine RUN commands
This commit is contained in:
parent
f789f08470
commit
cae250a5d7
@ -7,9 +7,9 @@ ENV PYTHONFAULTHANDLER=1 \
|
|||||||
PIP_DISABLE_PIP_VERSION_CHECK=on \
|
PIP_DISABLE_PIP_VERSION_CHECK=on \
|
||||||
PIP_DEFAULT_TIMEOUT=100
|
PIP_DEFAULT_TIMEOUT=100
|
||||||
|
|
||||||
RUN python -m venv /venv
|
|
||||||
COPY requirements.txt ./
|
COPY requirements.txt ./
|
||||||
RUN /venv/bin/pip install -r /requirements.txt
|
RUN python -m venv /venv \
|
||||||
|
&& /venv/bin/pip install -r /requirements.txt
|
||||||
|
|
||||||
FROM builder as final
|
FROM builder as final
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user