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 \