mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
fix(docker-image): clear cache to account for new assets and data structure changes
fixes #510
This commit is contained in:
parent
a68959c906
commit
63c763f941
@ -288,5 +288,8 @@ cat $ENV_FILE_LOCATION
|
|||||||
#Run database migrations after 10 seconds (to wait for the database to be started)
|
#Run database migrations after 10 seconds (to wait for the database to be started)
|
||||||
(sleep 10 && php spark castopod:database-update) &
|
(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
|
#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
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user