Poetry does not recommend to install with pip
Poetry documentation recommend to install poetry with curl to avoid conflict between poetry dependencies and project dependencies.
So I think poetry should be installed with curl in the docker image to be safe with any project.
Warning is here: https://python-poetry.org/docs/#installing-with-pip
curl install is here: https://python-poetry.org/docs/#osx--linux--bashonwindows-install-instructions