Skip to content

Commit 9ae18b5

Browse files
committed
add poetry run
1 parent c3ca425 commit 9ae18b5

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

docker/Dockerfile.clightning

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,8 @@ RUN mkdir lnprototest
6969

7070
COPY . lnprototest
7171

72-
# Remove distutils-installed packages that conflict with Poetry (e.g., blinker)
73-
RUN apt-get -qq update && \
74-
apt-get -qq remove -y python3-blinker && \
75-
apt-get -qq autoremove -y
76-
77-
# Install Poetry dependencies without prompts, directly into the system environment
7872
RUN cd lnprototest && \
79-
poetry config virtualenvs.create false && \
80-
poetry install --no-interaction
81-
73+
poetry install
8274
RUN cd lnprototest && ls -lha
8375

84-
CMD ["./lnprototest/docker/entrypoint.sh"]
76+
CMD ["poetry", "run", "./docker/entrypoint.sh"]

0 commit comments

Comments
 (0)