From 0d3eea9d5518da0b262ff80065fb6ab48d1c4202 Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Sun, 8 Dec 2024 16:43:30 +0100 Subject: [PATCH 1/2] add data directory with permission --- jitsi_admin_application_dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jitsi_admin_application_dockerfile b/jitsi_admin_application_dockerfile index 4dbf384..d90a3fd 100644 --- a/jitsi_admin_application_dockerfile +++ b/jitsi_admin_application_dockerfile @@ -74,11 +74,14 @@ RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/03-symfony.sh \ RUN wget https://github.com/H2-invent/jitsi-admin/releases/download/${VERSION}/application.zip -O artifact.zip \ && unzip artifact.zip \ + && mkdir data \ && chown -R nobody public \ && chown -R nobody theme \ + && chown -R nobody data \ && chown -R nobody var \ && chmod -R 700 public \ && chmod -R 700 theme \ + && chown -R 700 data \ && chmod -R 700 var \ && rm artifact.zip \ && rm -r var/cache From 3e251ada348355990607785cd3e07f85f8929e0f Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Sun, 8 Dec 2024 16:45:18 +0100 Subject: [PATCH 2/2] change to chmod --- jitsi_admin_application_dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jitsi_admin_application_dockerfile b/jitsi_admin_application_dockerfile index d90a3fd..ecec4bf 100644 --- a/jitsi_admin_application_dockerfile +++ b/jitsi_admin_application_dockerfile @@ -81,7 +81,7 @@ RUN wget https://github.com/H2-invent/jitsi-admin/releases/download/${VERSION}/a && chown -R nobody var \ && chmod -R 700 public \ && chmod -R 700 theme \ - && chown -R 700 data \ + && chmod -R 700 data \ && chmod -R 700 var \ && rm artifact.zip \ && rm -r var/cache