Add rights to logs folder in the Docker image (#10740)

pull/10756/head
Victor Baranov 2 months ago committed by GitHub
parent 924454658e
commit 5934c4f6be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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/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 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} USER ${BLOCKSCOUT_USER}:${BLOCKSCOUT_GROUP}

Loading…
Cancel
Save