From 189b3990dea300aec6c50dc70b0e12df016a9abb Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Wed, 10 Jul 2024 11:48:56 -0500 Subject: [PATCH] Build Docker image from locked dependencies --- Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index bff054f..8fc195d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,12 +16,10 @@ ENV PYTHONPATH "/root/.local/lib/python3.12/site-packages" COPY requirements requirements RUN \ - PIP_CONSTRAINT=requirements/runtime-prerequisites.txt \ - pip install --user --upgrade --no-cache-dir \ - -r requirements/runtime-prerequisites.in && \ - PIP_CONSTRAINT=requirements/runtime.txt \ - pip install --user --upgrade --no-cache-dir --prefer-binary \ - -r requirements/runtime.in + pip install --user --upgrade --no-cache-dir \ + -r requirements/runtime-prerequisites.txt && \ + pip install --user --upgrade --no-cache-dir --prefer-binary \ + -r requirements/runtime.txt WORKDIR /app COPY LICENSE.md .