From 2d37a4d0285f5944cb1fbd59bb1d5399b03d61a9 Mon Sep 17 00:00:00 2001 From: Ambroise Maupate Date: Fri, 21 Jul 2023 00:52:21 +0200 Subject: [PATCH] chore: Clear cache.global_clearer at docker startup --- docker/php81-fpm-alpine/docker-php-entrypoint | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/php81-fpm-alpine/docker-php-entrypoint b/docker/php81-fpm-alpine/docker-php-entrypoint index 8a7bc997..433251b9 100755 --- a/docker/php81-fpm-alpine/docker-php-entrypoint +++ b/docker/php81-fpm-alpine/docker-php-entrypoint @@ -13,6 +13,7 @@ set -e # Print local env vars to .env.xxx.php file for performances and crontab jobs /usr/bin/sudo -u www-data -- bash -c "/var/www/html/bin/console cache:clear -n" +/usr/bin/sudo -u www-data -- bash -c "/var/www/html/bin/console cache:pool:clear cache.global_clearer -n" /usr/bin/sudo -u www-data -- bash -c "/var/www/html/bin/console assets:install -n" /usr/bin/sudo -u www-data -- bash -c "/var/www/html/bin/console themes:assets:install -n Rozier --relative --symlink"