From c6c925d3e2123cbf0b843477c5eba19c0007e82b Mon Sep 17 00:00:00 2001 From: Zixuan Liu Date: Mon, 29 Jul 2024 15:12:17 +0800 Subject: [PATCH] Update directories permission --- docker/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 2cf39520dbe..c237766b039 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -87,6 +87,10 @@ COPY scripts /opt/bookkeeper/scripts RUN chmod +x -R /opt/bookkeeper/scripts/ RUN chown -R 10000:0 /opt/bookkeeper +RUN chmod -R ug+rwx /opt/bookkeeper +RUN chmod -R g+rx /opt/bookkeeper/bin +RUN chmod -R g+rx /opt/bookkeeper/scripts + USER 10000:0 ENTRYPOINT [ "/bin/bash", "/opt/bookkeeper/scripts/entrypoint.sh" ]