Commit 63c763f9 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

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

fixes #510
parent a68959c9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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