add data directory with permission

This commit is contained in:
holzi1005 2024-12-08 16:43:30 +01:00
parent 92795d3494
commit 0d3eea9d55

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 \
&& 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