mirror of
https://codeberg.org/hyperreal/archive-fandom-wiki
synced 2024-11-25 01:23:42 +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_DEFAULT_TIMEOUT=100
|
||||
|
||||
RUN python -m venv /venv
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user