fix(docker): chown the application files to bc user

This commit is contained in:
Iain Learmonth 2023-03-13 11:50:25 +00:00
parent 13b85389fb
commit 6a79ebbd2d

View file

@ -43,7 +43,7 @@ USER ${APP}
# Copy the project into the workdir # Copy the project into the workdir
WORKDIR ${APP_BASE}/${APP} WORKDIR ${APP_BASE}/${APP}
COPY . ${APP_BASE}/${APP} COPY --chown ${APP}:${APP} . ${APP_BASE}/${APP}
# Install Python requirements # Install Python requirements
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt