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.
This commit is contained in:
Father Bot
2025-12-24 16:29:42 +03:00
parent 1bc081d115
commit fe126441d7
+12
View File
@@ -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