From c26064d88b74791fd5d37cec364c7cd7222b7101 Mon Sep 17 00:00:00 2001 From: Vi P <129776839+vitropy@users.noreply.github.com> Date: Fri, 3 May 2024 20:42:57 -0400 Subject: [PATCH] Add executable permissions for the `data` directory in the image. (#811) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2d1b56863..63299a6ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -117,7 +117,7 @@ RUN addgroup --system entropy \ # Lastly, we copy our own files into the final container image stage. COPY --from=build --chown=entropy:entropy --chmod=554 /usr/local/bin/${PACKAGE} /usr/local/bin/${PACKAGE} COPY --chown=entropy:entropy --chmod=554 bin/entrypoint.sh /usr/local/bin/entrypoint.sh -COPY --chown=entropy:entropy --chmod=444 data/ /srv/entropy/data +COPY --chown=entropy:entropy --chmod=554 data/ /srv/entropy/data # Don't run as the `root` user within the container. USER entropy