From e3eff7061f58be2938f128a53ab471fe0fdd2066 Mon Sep 17 00:00:00 2001 From: vlakoff <544424+vlakoff@users.noreply.github.com> Date: Thu, 30 Apr 2026 00:47:40 +0200 Subject: [PATCH] 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. --- .dockerignore | 11 +++++++---- .gitignore | 8 ++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.dockerignore b/.dockerignore index 136b3eca..33e20c1b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,7 @@ -scripts -.github -.editorconfig -.pre-commit-hooks.yaml +/.editorconfig +/.git/ +/.github/ +/.gitignore +/.pre-commit-hooks.yaml +/scripts/ +/target/ diff --git a/.gitignore b/.gitignore index c03f402b..65fa6697 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ -target *.bk -.DS_Store *.out.png -/.idea -/node_modules +.DS_Store +/.idea/ +/node_modules/ +/target/