.dockerignore = strict superset of .gitignore, not DRY, but ok...
This commit is contained in:
parent
6f3dbdbe14
commit
3065ad1c5e
2 changed files with 6 additions and 1 deletions
|
|
@ -1,6 +1,12 @@
|
|||
node_modules/
|
||||
data/
|
||||
*.env
|
||||
megalinter-reports/
|
||||
|
||||
# the above is just copied from .gitignore - violating DRY...
|
||||
# however, generally, we want .dockerignore to be a *strict* superset of .gitignore, so we can't just `ln -s .gitignore .dockerignore`
|
||||
# could generate this in CI and append the extra entries from below, but then it wouldn't work for local builds without running some script...
|
||||
# also, the rules are slightly different: https://zzz.buzz/2018/05/23/differences-of-rules-between-gitignore-and-dockerignore/
|
||||
|
||||
.gitignore
|
||||
.github/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue