Skip to content

Commit

Permalink
fix(docker): install dependencies as dms user
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed May 30, 2024
1 parent 14c4d7f commit 6a17a8f
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 @@ -41,12 +41,12 @@ RUN \

RUN pip install -U poetry

USER document-merge-service

ARG ENV=docker
COPY pyproject.toml poetry.lock $APP_HOME/
RUN if [ "$ENV" = "dev" ]; then poetry install --all-extras; else poetry install --all-extras --without dev; fi

USER document-merge-service

COPY . $APP_HOME

EXPOSE 8000
Expand Down

0 comments on commit 6a17a8f

Please sign in to comment.