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:
commit
b11c008c7f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue