Prevent Poetry from installing packages globally

This commit is contained in:
Roger Gonzalez 2025-03-27 20:30:08 -03:00
parent 52fb1dc3de
commit 93654d84e4
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

View File

@ -19,7 +19,7 @@ RUN pip install --no-cache-dir poetry
RUN poetry config virtualenvs.create false
COPY pyproject.toml poetry.lock ./
RUN poetry install --only main --no-interaction --no-ansi
RUN poetry install --only main --no-interaction --no-ansi --no-root
FROM python:3.10-alpine