Skip to content

Commit 5ead484

Browse files
authored
Merge pull request #2219 from open-dynaMIX/install-deps-as-user
fix(docker): install dependencies as caluma user
2 parents 51491c2 + 9623107 commit 5ead484

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ RUN \
2424

2525
RUN pip install -U poetry
2626

27+
USER caluma
28+
2729
ARG INSTALL_DEV_DEPENDENCIES=false
2830
COPY pyproject.toml poetry.lock $APP_HOME/
2931
RUN if [ "$INSTALL_DEV_DEPENDENCIES" = "true" ]; then poetry install; else poetry install --without dev; fi
3032

31-
USER caluma
32-
3333
COPY . $APP_HOME
3434

3535
EXPOSE 8000

0 commit comments

Comments
 (0)