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
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
This commit is contained in:
commit
e871070942
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