fix(docker-image): clear cache to account for new assets and data structure changes

fixes #510
This commit is contained in:
Yassine Doghri 2024-08-09 13:21:18 +00:00
parent ef5d495181
commit ae394c2f14

View File

@ -288,5 +288,8 @@ cat $ENV_FILE_LOCATION
#Run database migrations after 10 seconds (to wait for the database to be started)
(sleep 10 && php spark castopod:database-update) &
# clear cache to account for new assets and any change in data structure
php spark cache:clear
#Apply php configuration
cat /uploads.template.ini | envsubst '$CP_MAX_BODY_SIZE$CP_MAX_BODY_SIZE_BYTES$CP_TIMEOUT$CP_PHP_MEMORY_LIMIT' > /usr/local/etc/php/conf.d/uploads.ini