Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 66f9ed3

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

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎docker-entrypoint.sh

Copy file name to clipboardExpand all lines: docker-entrypoint.sh
+5Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.