mirror of
https://github.com/father-bot/chatgpt_telegram_bot.git
synced 2026-08-03 13:27:16 +03:00
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:
+13
-1
@@ -1,2 +1,14 @@
|
|||||||
|
.git
|
||||||
|
.gitignore
|
||||||
mongodb
|
mongodb
|
||||||
|
|
||||||
|
# Python caches
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
|
||||||
|
# macOS
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# local secrets / config (mounted at runtime instead)
|
||||||
|
config/config.yml
|
||||||
|
config/config.env
|
||||||
|
|||||||
Reference in New Issue
Block a user