add data directory with permission
This commit is contained in:
parent
92795d3494
commit
0d3eea9d55
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 \
|
||||
&& 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
|
||||
|
|
Loading…
Reference in a new issue