From 4c8543c0c286b6db46c22be2e2b2b50d0bd4f1e3 Mon Sep 17 00:00:00 2001 From: "Jeremi [IoTeX] Rynkiewicz JRPC" <63042547+jrynkiew@users.noreply.github.com> Date: Wed, 16 Mar 2022 21:01:00 +0100 Subject: [PATCH] fix Dockerfile to (#3200) Co-authored-by: CoderZhi --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 230ae84f9f..78bf617250 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,4 +29,5 @@ RUN apk add logrotate COPY logrotate.conf /etc/logrotate.d/iotex RUN mkdir -p /var/lib/ RUN touch /var/lib/logrotate.status +RUN chmod -R u=rwX,go=rX /etc RUN logrotate /etc/logrotate.d/iotex