Skip to content

Commit

Permalink
chore: --no-dev option is deprecated, use the --only main notatio…
Browse files Browse the repository at this point in the history
…n instead
  • Loading branch information
ngshiheng committed Feb 4, 2024
1 parent ab8a48b commit 3053dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ WORKDIR app
COPY pyproject.toml /app/
COPY poetry.lock /app/
RUN poetry install --no-root \
$(if [ "$ENVIRONMENT" = 'production' ]; then echo '--no-dev'; fi) \
$(if [ "$ENVIRONMENT" = 'production' ]; then echo '--only main'; fi) \
--no-interaction --no-ansi

FROM builder AS app
Expand Down

0 comments on commit 3053dc1

Please sign in to comment.