Skip to content

Commit

Permalink
Fix warning for deprecated poetry option --no-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed Jul 31, 2023
1 parent 2ff417d commit 9f52633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ENV POETRY_VIRTUALENVS_CREATE false
RUN curl -sSL https://install.python-poetry.org | python -
COPY . /src
WORKDIR /src
RUN $HOME/.local/bin/poetry install --no-dev
RUN $HOME/.local/bin/poetry install --only main

FROM python:3.10-slim
COPY --from=build /usr/local/lib/python3.10/site-packages/ /usr/local/lib/python3.10/site-packages/
Expand Down

0 comments on commit 9f52633

Please sign in to comment.