Skip to content

Commit 3053dc1

Browse files
committed
chore: --no-dev option is deprecated, use the --only main notation instead
1 parent ab8a48b commit 3053dc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ WORKDIR app
1717
COPY pyproject.toml /app/
1818
COPY poetry.lock /app/
1919
RUN poetry install --no-root \
20-
$(if [ "$ENVIRONMENT" = 'production' ]; then echo '--no-dev'; fi) \
20+
$(if [ "$ENVIRONMENT" = 'production' ]; then echo '--only main'; fi) \
2121
--no-interaction --no-ansi
2222

2323
FROM builder AS app

0 commit comments

Comments
 (0)