Skip to content

Commit

Permalink
fix: make sure dev dependencies are only installed in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
open-dynaMIX committed Jul 26, 2024
1 parent 3d034ac commit debdb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ WORKDIR $APP_HOME

ARG INSTALL_DEV_DEPENDENCIES=false
COPY pyproject.toml poetry.lock $APP_HOME/
RUN if [ "$INSTALL_DEV_DEPENDENCIES" = "true" ]; then poetry install; else poetry install --without dev; fi
RUN if [ "$INSTALL_DEV_DEPENDENCIES" = "true" ]; then poetry install --with dev; else poetry install; fi

COPY . $APP_HOME

Expand Down

0 comments on commit debdb3c

Please sign in to comment.