Skip to content

Commit 66f9ed3

Browse files
committed
Add cache clearing befor the container starts
Signed-off-by: solidnerd <niclas@mietz.io>
1 parent 1ef15a8 commit 66f9ed3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker-entrypoint.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,9 @@ cd /var/www/BookStack/ && php artisan key:generate && php artisan migrate --forc
108108
echo "Setting setting rights for uploads"
109109
chown -R www-data:www-data /var/www/BookStack/public/uploads && chmod -R 775 /var/www/BookStack/public/uploads
110110

111+
echo "Clear Cache..."
112+
113+
php artisan cache:clear
114+
php artisan view:clear
115+
111116
exec apache2-foreground

0 commit comments

Comments
 (0)