# Build context for docker/php/Dockerfile (context = repo root).
#
#   prod target  — COPYs the application in, so keep app code but drop
#                  everything the image rebuilds or must never ship (vendor/,
#                  node_modules/, .env, tests/, docs/, host state in ./data).
#   dev target   — bakes nothing; compose.dev.yaml bind-mounts the repo.

.git
.github
.gitattributes
.gitignore
.editorconfig

vendor
node_modules
public/build
public/hot
public/storage

storage/app/*
!storage/app/.gitignore
!storage/app/private
!storage/app/public
storage/framework/cache/data/*
storage/framework/sessions/*
storage/framework/testing/*
storage/framework/views/*
storage/logs/*
bootstrap/cache/*
!bootstrap/cache/.gitignore

.env
.env.*
!.env.example

docs
tests
phpunit.xml
.phpunit.result.cache
.phpunit.cache

*.md
.dockerignore

# Compose files + local overrides + persistent state — never needed in the image.
docker/compose.yaml
docker/compose.dev.yaml
docker/compose.override.yaml
docker/compose.dev.override.yaml
docker/*.template
docker/data
