Prevent Poetry from installing packages globally
This commit is contained in:
parent
52fb1dc3de
commit
93654d84e4
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user