Exclude whole storage trees from the build context, create cache dirs before dump-autoload, and drop Buildx-only cache mounts.
35 lines
492 B
Plaintext
35 lines
492 B
Plaintext
.git
|
|
.gitattributes
|
|
.github
|
|
.idea
|
|
.vscode
|
|
.cursor
|
|
.claude
|
|
.ai
|
|
node_modules
|
|
vendor
|
|
public/build
|
|
public/hot
|
|
# 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.*
|
|
!.env.example
|
|
.phpunit.result.cache
|
|
Homestead.json
|
|
Homestead.yaml
|
|
auth.json
|
|
npm-debug.log
|
|
yarn-error.log
|
|
tests
|
|
docs
|
|
todo.txt
|
|
*.md
|
|
!README.md
|