Merge pull request 'add data directory with permission' (#12) from hotfix/add-data-directory into main

Reviewed-on: #12
Reviewed-by: emanuel.holzmann <emanuel.holzmann@noreply.localhost>
This commit is contained in:
emanuel.holzmann 2024-12-08 16:45:52 +01:00
commit b11c008c7f

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 \
&& chmod -R 700 data \
&& chmod -R 700 var \
&& rm artifact.zip \
&& rm -r var/cache