Fix Docker builds when livewire-tmp is root-owned.

Exclude whole storage trees from the build context, create cache dirs before dump-autoload, and drop Buildx-only cache mounts.
This commit is contained in:
ben
2026-08-12 20:47:58 +02:00
parent b7c36b8b3b
commit 5f0f61995c
3 changed files with 22 additions and 14 deletions
+7 -6
View File
@@ -10,12 +10,13 @@ node_modules
vendor
public/build
public/hot
storage/app/private/**
storage/app/public/**
storage/logs/**
storage/framework/cache/**
storage/framework/sessions/**
storage/framework/views/**
# Exclude whole trees (not only /**) so Docker never tries to stat root-owned tmp dirs
storage/app/private
storage/app/public
storage/logs
storage/framework/cache
storage/framework/sessions
storage/framework/views
database/*.sqlite*
.env
.env.*