From 794028e9107a23a21d3957b44c150745114a5590 Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 30 Oct 2025 18:28:15 -0400 Subject: [PATCH] Add .dockerignore for Docker builds Excludes git history, Python cache, secrets, and runtime data --- .dockerignore | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..bb64639 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,60 @@ +# Version control +.git/ +.gitignore + +# Python +__pycache__/ +*.py[cod] +*$py.class +*.so +.Python +venv/ +env/ +ENV/ +.venv/ + +# IDE +.vscode/ +.idea/ +*.swp +*.swo + +# Environment and secrets +.env +.env.* +!.env.example + +# Data files (fetched at runtime) +data/*.json +data/agent_data/ +data/merged.jsonl +data/merged_daily.jsonl +data/merged_hour.jsonl + +# Logs +logs/ +*.log + +# Runtime state +runtime_env.json +.runtime_env.json + +# Documentation (not needed in image) +docs/ +!README.md + +# CI/CD +.github/ + +# Git worktrees +.worktrees/ + +# Test files +test.py +delete.py +refresh_data.sh + +# Build artifacts +build/ +dist/ +*.egg-info/