Skip to content

Commit

Permalink
fix(docker): install dependencies as caluma user
Browse files Browse the repository at this point in the history
  • Loading branch information
open-dynaMIX committed May 30, 2024
1 parent 51491c2 commit 9623107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ RUN \

RUN pip install -U poetry

USER caluma

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

USER caluma

COPY . $APP_HOME

EXPOSE 8000
Expand Down

0 comments on commit 9623107

Please sign in to comment.