# Keep the build context to source only.
#
# vendor/ and bootstrap/cache/ matter most: the Dockerfile runs
# `composer install --no-dev` BEFORE copying the app, so a host vendor/ would
# overwrite the production install with a dev one, and a host
# bootstrap/cache/packages.php makes package:discover look for dev-only
# providers (Laravel Pail) that the image deliberately does not have - which
# fails the build outright.
vendor/
node_modules/
bootstrap/cache/*.php

# Never bake real secrets into an image.
.env
.env.*
!.env.example

storage/logs/*
storage/framework/cache/data/*
storage/framework/sessions/*
storage/framework/views/*

tests/
.phpunit.cache/
.phpunit.result.cache
.git/
