Optimize .dockerignore and .gitignore for local context
* Updates .dockerignore to exclude /.git/, /.gitignore, and /target/ to optimize the build context transfer since switching to local ref. * Standardizes both files with leading and trailing slashes for increased precision (root-anchoring and directory targeting). * Organizes entries alphabetically to improve maintainability.
This commit is contained in:
parent
5c462e5eaf
commit
e3eff7061f
2 changed files with 11 additions and 8 deletions
|
|
@ -1,4 +1,7 @@
|
|||
scripts
|
||||
.github
|
||||
.editorconfig
|
||||
.pre-commit-hooks.yaml
|
||||
/.editorconfig
|
||||
/.git/
|
||||
/.github/
|
||||
/.gitignore
|
||||
/.pre-commit-hooks.yaml
|
||||
/scripts/
|
||||
/target/
|
||||
|
|
|
|||
8
.gitignore
vendored
8
.gitignore
vendored
|
|
@ -1,6 +1,6 @@
|
|||
target
|
||||
*.bk
|
||||
.DS_Store
|
||||
*.out.png
|
||||
/.idea
|
||||
/node_modules
|
||||
.DS_Store
|
||||
/.idea/
|
||||
/node_modules/
|
||||
/target/
|
||||
|
|
|
|||
Loading…
Reference in a new issue