From cae250a5d7008767d03ee658608836dbd2acf4a4 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio <23226432+hyperreal64@users.noreply.github.com> Date: Sun, 17 Sep 2023 21:53:52 -0500 Subject: [PATCH] refactor: combine RUN commands --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 14c2a69..8d15cd6 100644 --- a/Containerfile +++ b/Containerfile @@ -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