start crond with entry script
This commit is contained in:
parent
55f865d1ee
commit
e6da12faef
1 changed files with 5 additions and 0 deletions
|
@ -43,6 +43,11 @@ RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/01-symfony.sh \
|
|||
&& echo "php ${WEBDIR}/bin/console cache:clear" >> /docker-entrypoint-init.d/01-symfony.sh \
|
||||
&& chmod +x /docker-entrypoint-init.d/01-symfony.sh
|
||||
|
||||
RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/99-crond.sh \
|
||||
&& echo "# Start crond as daemon via entry script" >> /docker-entrypoint-init.d/99-crond.sh \
|
||||
&& echo "exec cron -f -l -L 15" >> /docker-entrypoint-init.d/99-crond.sh \
|
||||
&& chmod +x /docker-entrypoint-init.d/99-crond.sh
|
||||
|
||||
RUN wget https://github.com/H2-invent/open-datenschutzcenter/releases/download/${VERSION}/application.zip -O artifact.zip \
|
||||
&& unzip artifact.zip -d ${WEBDIR} \
|
||||
&& chown -R nobody ${WEBDIR}/public \
|
||||
|
|
Loading…
Reference in a new issue