From 6a79ebbd2d48581756c378cb132b74bfe97a212e Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Mon, 13 Mar 2023 11:50:25 +0000 Subject: [PATCH] fix(docker): chown the application files to bc user --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 649e829..b55a783 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ USER ${APP} # Copy the project into the workdir WORKDIR ${APP_BASE}/${APP} -COPY . ${APP_BASE}/${APP} +COPY --chown ${APP}:${APP} . ${APP_BASE}/${APP} # Install Python requirements RUN pip3 install -r requirements.txt