From b5eef8af4db9f2a58f435bb5beb54299b2800e67 Mon Sep 17 00:00:00 2001 From: ShahanaFarooqui Date: Wed, 5 Mar 2025 08:55:40 -0800 Subject: [PATCH] dockerfile: Add `poetry lock` before export for wss-proxy The current docker build failed with Error `1.082 pyproject.toml changed significantly since poetry.lock was last generated. Run `poetry lock` to fix the lock file.`. Adding `poetry lock` command before `poetry export` will regenerate the lock file. Changelog-None. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ca490d691..9aa138dd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -243,7 +243,7 @@ RUN ./configure --prefix=/tmp/lightning_install --enable-static && poetry run ma # Export the requirements for the plugins so we can install them in builder-python stage WORKDIR /opt/lightningd/plugins/wss-proxy -RUN poetry export -o requirements.txt --without-hashes +RUN poetry lock && poetry export -o requirements.txt --without-hashes WORKDIR /opt/lightningd RUN echo 'RUSTUP_INSTALL_OPTS="${RUSTUP_INSTALL_OPTS}"' > /tmp/rustup_install_opts.txt