Skip to content

Commit

Permalink
chore: Clear cache.global_clearer at docker startup
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Jul 20, 2023
1 parent bab23a2 commit 2d37a4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/php81-fpm-alpine/docker-php-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 2d37a4d

Please sign in to comment.