From 7b3a59da109b89a5e9ae8cd132695f14bbfbc79a Mon Sep 17 00:00:00 2001 From: myrmidex Date: Sat, 7 Mar 2026 00:45:51 +0100 Subject: [PATCH] 40 - Fix javascript/livewire issue --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c86a0e3..2716112 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,8 +31,9 @@ RUN npm run build # Remove node_modules after build to save space RUN rm -rf node_modules -# Laravel optimizations -RUN php artisan config:cache \ +# Publish Livewire assets and Laravel optimizations +RUN php artisan livewire:publish --assets \ + && php artisan config:cache \ && php artisan route:cache \ && php artisan view:cache \ && composer dump-autoload --optimize