#!/bin/bash # EduBox: clear PrestaShop caches at every container start so that dynamic # domains/ports (localhost:PORT or reverse-proxy public URL) are picked up. echo "* EduBox: clearing PrestaShop caches for dynamic domain..." rm -rf /var/www/html/var/cache/* rm -rf /var/www/html/app/cache/* rm -rf /var/www/html/cache/smarty/cache/* rm -rf /var/www/html/cache/smarty/compile/* rm -rf /var/www/html/themes/*/assets/cache/* rm -rf /var/www/html/img/tmp/*