Update jitsi_admin_application_dockerfile.txt
This commit is contained in:
parent
f8e3a7d937
commit
12e9b24775
1 changed files with 8 additions and 4 deletions
|
@ -48,10 +48,14 @@ RUN echo "# Docker Cron Jobs" > /etc/crontabs/nobody \
|
|||
&& chown nobody:nobody /etc/crontabs/nobody \
|
||||
&& chmod +x /etc/crontabs/nobody
|
||||
|
||||
RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/symfony.sh \
|
||||
&& echo "php ${WEBDIR}/bin/console cache:clear" >> /docker-entrypoint-init.d/symfony.sh \
|
||||
&& echo "php ${WEBDIR}/bin/console doc:mig:mig --no-interaction" >> /docker-entrypoint-init.d/symfony.sh \
|
||||
&& echo "php ${WEBDIR}/bin/console cache:clear" >> /docker-entrypoint-init.d/symfony.sh \
|
||||
RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/02-symfony.sh \
|
||||
&& echo "php ${WEBDIR}/bin/console cache:clear" >> /docker-entrypoint-init.d/02-symfony.sh \
|
||||
&& echo "php ${WEBDIR}/bin/console doc:mig:mig --no-interaction" >> /docker-entrypoint-init.d/02-symfony.sh \
|
||||
&& echo "php ${WEBDIR}/bin/console cache:clear" >> /docker-entrypoint-init.d/02-symfony.sh \
|
||||
&& echo "#!/bin/sh" > /docker-entrypoint-init.d/03-theme.sh \
|
||||
&& echo "if [ -d "${WEBDIR}/theme/public" ]; then" >> /docker-entrypoint-init.d/03-theme.sh \
|
||||
&& echo " cp -r ${WEBDIR}/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/*
|
||||
|
||||
RUN wget https://github.com/H2-invent/jitsi-admin/releases/download/${VERSION}/application.zip -O artifact.zip \
|
||||
|
|
Loading…
Reference in a new issue