Update skib_application_dockerfile.txt

This commit is contained in:
holzi1005 2024-11-17 13:04:53 +01:00
parent 10b0ad41cf
commit ec90f83b29

View file

@ -45,11 +45,11 @@ RUN echo "# Docker Cron Jobs" > /var/crontab \
&& echo "" >> /var/crontab \
&& chown nobody:nobody /var/crontab
#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 \
# && chmod +x /docker-entrypoint-init.d/*
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 \
&& chmod +x /docker-entrypoint-init.d/02--symfony.sh
RUN --mount=type=secret,id=ARTIFACT_USER \
--mount=type=secret,id=ARTIFACT_SECRET \