fix: fix: add .dockerignore — stop baking .env and .git into agent image (#377)
This commit is contained in:
parent
f19f38f16b
commit
cbc2a0ca4e
1 changed files with 20 additions and 0 deletions
20
.dockerignore
Normal file
20
.dockerignore
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue