From cf81aa5b74320c08b3dbaff32da2bcc8b5e903af Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Thu, 5 Sep 2024 13:37:32 +0100 Subject: [PATCH] docker: Actually install dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously, `pipenv install` would relock dependencies unless you passed `--ignore-pipfile`. This was changed in pipenv 2024.0.0: > As much requested, the `install` no longer does a complete lock > operation. Instead `install` follows the same code path as pipenv update > (which is upgrade + sync). > – https://github.com/pypa/pipenv/blob/v2024.0.0/CHANGELOG.md#behavior-changes What does not seem to be documented is that, if no `Pipfile` is present, `pipenv install` now does nothing. Use `pipenv sync` instead. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3742697..5e3fe09 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ WORKDIR /opt/azafea-metrics-proxy/src COPY Pipfile.lock . -RUN pipenv install --ignore-pipfile --dev +RUN pipenv sync --dev COPY . .