Merge pull request 'fix: fix: add .dockerignore — stop baking .env and .git into agent image (#377)' (#385) from fix/issue-377 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

This commit is contained in:
dev-qwen 2026-04-07 19:29:05 +00:00
commit e871070942

20
.dockerignore Normal file
View file

@ -0,0 +1,20 @@
# Secrets — prevent .env files from being baked into the image
.env
.env.enc
.env.vault
.env.vault.enc
# Version control — .git is huge and not needed in image
.git
# Archives — not needed at runtime
*.tar.gz
# Prometheus data — large, ephemeral data
prometheus-data/
# Compose files — only needed at runtime via volume mount
docker-compose.yml
# Project TOML files — gitignored anyway, won't be in build context
projects/*.toml