Skip to content

Commit

Permalink
Merge pull request #1120 from open-dynaMIX/fix_install_in_dockerfile
Browse files Browse the repository at this point in the history
fix: make sure dev dependencies are only installed in dev
  • Loading branch information
David Vogt authored Jul 29, 2024
2 parents 3d034ac + debdb3c commit de40e9f
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 de40e9f

Please sign in to comment.