From 6411bfec6504a07daaac71e167582b4e09003369 Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Tue, 17 Nov 2026 09:10:24 -0300 Subject: [PATCH] update ignore rules --- .dockerignore | 15 +++++++++++---- .gitignore | 9 +++++---- build_and_push.sh | 8 ++++++++ 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.dockerignore b/.dockerignore index 0c1cd68..64e765e 100644 --- a/.dockerignore +++ b/.dockerignore @@ -27,9 +27,8 @@ local_settings.py *.log media/ *.pot -*.pyc -*__pycache__/ -__pycache__/ +**/*.pyc +**/__pycache__/ *.pyd *.pyo .venv @@ -41,4 +40,12 @@ venv.bak/ .tmp/ wireguard_webadmin/production_settings.py containers/caddy/config_files/ -CLAUDE.md \ No newline at end of file +CLAUDE.md +.claude/ +**/.DS_Store + +# Not needed inside the main image +.git +containers +docs +screenshots diff --git a/.gitignore b/.gitignore index 0c1cd68..3a43f73 100644 --- a/.gitignore +++ b/.gitignore @@ -27,9 +27,8 @@ local_settings.py *.log media/ *.pot -*.pyc -*__pycache__/ -__pycache__/ +**/*.pyc +**/__pycache__/ *.pyd *.pyo .venv @@ -41,4 +40,6 @@ venv.bak/ .tmp/ wireguard_webadmin/production_settings.py containers/caddy/config_files/ -CLAUDE.md \ No newline at end of file +CLAUDE.md +.claude/ +**/.DS_Store diff --git a/build_and_push.sh b/build_and_push.sh index aced053..e7fd838 100755 --- a/build_and_push.sh +++ b/build_and_push.sh @@ -114,6 +114,14 @@ fi # ── .dockerignore ── cat .gitignore > .dockerignore +cat >> .dockerignore <<'EOF' + +# Not needed inside the main image +.git +containers +docs +screenshots +EOF # ── Build and push ── DEFAULT_PLATFORMS="linux/amd64,linux/arm64"