From ec90f83b29719e3b540ae6b2c8c7939946462738 Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Sun, 17 Nov 2024 13:04:53 +0100 Subject: [PATCH] Update skib_application_dockerfile.txt --- skib_application_dockerfile.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/skib_application_dockerfile.txt b/skib_application_dockerfile.txt index dd7e417..8334884 100644 --- a/skib_application_dockerfile.txt +++ b/skib_application_dockerfile.txt @@ -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 \