add data directory with permission #12

Merged
emanuel.holzmann merged 2 commits from hotfix/add-data-directory into main 2024-12-08 16:45:53 +01:00

View file

@ -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 \ RUN wget https://github.com/H2-invent/jitsi-admin/releases/download/${VERSION}/application.zip -O artifact.zip \
&& unzip artifact.zip \ && unzip artifact.zip \
&& mkdir data \
&& chown -R nobody public \ && chown -R nobody public \
&& chown -R nobody theme \ && chown -R nobody theme \
&& chown -R nobody data \
&& chown -R nobody var \ && chown -R nobody var \
&& chmod -R 700 public \ && chmod -R 700 public \
&& chmod -R 700 theme \ && chmod -R 700 theme \
&& chmod -R 700 data \
&& chmod -R 700 var \ && chmod -R 700 var \
&& rm artifact.zip \ && rm artifact.zip \
&& rm -r var/cache && rm -r var/cache