From fe126441d7f9911c6a24d3be3ea88831443fda40 Mon Sep 17 00:00:00 2001 From: Father Bot Date: Wed, 24 Dec 2025 16:29:42 +0300 Subject: [PATCH] Expand .dockerignore to trim build context and secrets Exclude .git, Python bytecode caches, .DS_Store and the local config.yml/config.env from the Docker build context so they are not sent to the daemon or baked into the image. --- .dockerignore | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 64888ac..ae98a69 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,14 @@ +.git +.gitignore mongodb - + +# Python caches +__pycache__/ +*.py[cod] + +# macOS +.DS_Store + +# local secrets / config (mounted at runtime instead) +config/config.yml +config/config.env