poetry install --no-dev now removes its own dependencies since --no-dev implies a production environment.
This broke the Dockerfile_Daemons since the container command runs poetry run python ... and a missing dependency error is raised (this alert)
To fix this we run the command from python instead of poetry.
Acceptance Criteria
Do not use poetry commands on production after poetry install --no-dev.
Security Checklist
[ ] Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.
Description
poetry install --no-dev
now removes its own dependencies since--no-dev
implies a production environment. This broke theDockerfile_Daemons
since the container command runspoetry run python ...
and a missing dependency error is raised (this alert)To fix this we run the command from python instead of poetry.
Acceptance Criteria
poetry install --no-dev
.Security Checklist