fix 02.theme.sh
This commit is contained in:
parent
7c2b446c89
commit
7b7e8a654e
1 changed files with 8 additions and 1 deletions
|
@ -63,7 +63,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 -d ${WEBDIR} \
|
||||
&& chown -R nobody ${WEBDIR}/public \
|
||||
&& chown -R nobody ${WEBDIR}/var \
|
||||
&& chown -R nobody ${WEBDIR}/var \RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/03-theme.sh \
|
||||
&& echo "if [ -d "${WEBDIR}/data/theme" ]" >> /docker-entrypoint-init.d/03-theme.sh \
|
||||
&& echo "then" >> /docker-entrypoint-init.d/03-theme.sh \
|
||||
&& echo " cp -r ${WEBDIR}/data/theme/theme/*.json.signed* ${WEBSIR}/theme/" >> /docker-entrypoint-init.d/03-theme.sh \
|
||||
&& echo " cp -r ${WEBDIR}/data/theme/public/* ${WEBSIR}/public/" >> /docker-entrypoint-init.d/03-theme.sh \
|
||||
&& echo "fi" >> /docker-entrypoint-init.d/03-theme.sh \
|
||||
&& chmod +x /docker-entrypoint-init.d/*
|
||||
|
||||
&& chmod -R 700 ${WEBDIR}/public \
|
||||
&& chmod -R 700 ${WEBDIR}/var
|
||||
|
||||
|
|
Loading…
Reference in a new issue