From 5934c4f6bed9d3b13f92781e0b07da0f827a227e Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Wed, 11 Sep 2024 16:05:27 +0300 Subject: [PATCH] Add rights to logs folder in the Docker image (#10740) --- docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index e0bd205c91..834c57ff43 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -99,4 +99,6 @@ COPY --from=builder --chown=${BLOCKSCOUT_USER}:${BLOCKSCOUT_GROUP} /app/config/c COPY --from=builder --chown=${BLOCKSCOUT_USER}:${BLOCKSCOUT_GROUP} /app/config/config_helper.exs /app/releases/${RELEASE_VERSION}/config_helper.exs COPY --from=builder --chown=${BLOCKSCOUT_USER}:${BLOCKSCOUT_GROUP} /app/config/assets/precompiles-arbitrum.json ./config/assets/precompiles-arbitrum.json +RUN chown -R ${BLOCKSCOUT_USER}:${BLOCKSCOUT_GROUP} /app + USER ${BLOCKSCOUT_USER}:${BLOCKSCOUT_GROUP}