Update jitsi_admin_application_dockerfile.txt
This commit is contained in:
parent
13da00d712
commit
adc8723090
1 changed files with 7 additions and 5 deletions
|
@ -48,11 +48,6 @@ RUN echo "# Docker Cron Jobs" > /etc/crontabs/nobody \
|
|||
&& chown nobody:nobody /etc/crontabs/nobody \
|
||||
&& chmod +x /etc/crontabs/nobody
|
||||
|
||||
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 \
|
||||
|
||||
RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/02-theme.sh \
|
||||
&& echo "if [ -d "${WEBDIR}/data/theme" ]" >> /docker-entrypoint-init.d/02-theme.sh \
|
||||
&& echo "then" >> /docker-entrypoint-init.d/02-theme.sh \
|
||||
|
@ -67,6 +62,13 @@ RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/03-symfony.sh \
|
|||
&& echo "php ${WEBDIR}/bin/console cache:clear" >> /docker-entrypoint-init.d/03-symfony.sh \
|
||||
&& chmod +x /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 \
|
||||
&& chmod -R 700 ${WEBDIR}/public \
|
||||
&& chmod -R 700 ${WEBDIR}/var
|
||||
|
||||
RUN apk del unzip \
|
||||
&& rm artifact.zip \
|
||||
&& rm -r ${WEBDIR}/var/cache \
|
||||
|
|
Loading…
Add table
Reference in a new issue