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
|
/.editorconfig
|
||||||
.github
|
/.git/
|
||||||
.editorconfig
|
/.github/
|
||||||
.pre-commit-hooks.yaml
|
/.gitignore
|
||||||
|
/.pre-commit-hooks.yaml
|
||||||
|
/scripts/
|
||||||
|
/target/
|
||||||
|
|
|
||||||
8
.gitignore
vendored
8
.gitignore
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
target
|
|
||||||
*.bk
|
*.bk
|
||||||
.DS_Store
|
|
||||||
*.out.png
|
*.out.png
|
||||||
/.idea
|
.DS_Store
|
||||||
/node_modules
|
/.idea/
|
||||||
|
/node_modules/
|
||||||
|
/target/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue