Skip to content

Commit b5eef8a

Browse files
ShahanaFarooquiendothermicdev
authored andcommitted
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.
1 parent d40191e commit b5eef8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ RUN ./configure --prefix=/tmp/lightning_install --enable-static && poetry run ma
243243

244244
# Export the requirements for the plugins so we can install them in builder-python stage
245245
WORKDIR /opt/lightningd/plugins/wss-proxy
246-
RUN poetry export -o requirements.txt --without-hashes
246+
RUN poetry lock && poetry export -o requirements.txt --without-hashes
247247
WORKDIR /opt/lightningd
248248
RUN echo 'RUSTUP_INSTALL_OPTS="${RUSTUP_INSTALL_OPTS}"' > /tmp/rustup_install_opts.txt
249249

0 commit comments

Comments
 (0)