40 - Fix javascript/livewire issue
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m16s
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m16s
This commit is contained in:
parent
86b1fe7263
commit
7b3a59da10
1 changed files with 3 additions and 2 deletions
|
|
@ -31,8 +31,9 @@ RUN npm run build
|
||||||
# Remove node_modules after build to save space
|
# Remove node_modules after build to save space
|
||||||
RUN rm -rf node_modules
|
RUN rm -rf node_modules
|
||||||
|
|
||||||
# Laravel optimizations
|
# Publish Livewire assets and Laravel optimizations
|
||||||
RUN php artisan config:cache \
|
RUN php artisan livewire:publish --assets \
|
||||||
|
&& php artisan config:cache \
|
||||||
&& php artisan route:cache \
|
&& php artisan route:cache \
|
||||||
&& php artisan view:cache \
|
&& php artisan view:cache \
|
||||||
&& composer dump-autoload --optimize
|
&& composer dump-autoload --optimize
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue