Skip to content

Commit 000f3ad

Browse files
committed
COPY flags files
* Add a COPY line to the docker file to build the flags files into the image. * Set to 444 to write protect the files (flagged by SonarQube)
1 parent 99b6571 commit 000f3ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ COPY --from=python_builder --chown=${CONTAINER_USER}:${CONTAINER_GROUP} ${VIRTUA
5353
COPY --chown=${CONTAINER_USER}:${CONTAINER_GROUP} ./manage_breast_screening /app/manage_breast_screening
5454
COPY --from=node_builder --chown=${CONTAINER_USER}:${CONTAINER_GROUP} /app/manage_breast_screening/assets/compiled /app/manage_breast_screening/assets/compiled
5555
COPY --chown=${CONTAINER_USER}:${CONTAINER_GROUP} manage.py ./
56+
COPY --chown=${CONTAINER_USER}:${CONTAINER_GROUP} --chmod=444 flags*.yml ./
5657
COPY --chown=root:root --chmod=755 scripts/docker/entrypoint.sh /app/entrypoint.sh
5758

5859
# Run django commands

0 commit comments

Comments
 (0)