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

This commit is contained in:
Iain Learmonth 2023-03-13 12:47:16 +00:00
parent 6a79ebbd2d
commit b1f874eaf3

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 --chown ${APP}:${APP} . ${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