Add .dockerignore for Docker builds

Excludes git history, Python cache, secrets, and runtime data
This commit is contained in:
2025-10-30 18:28:15 -04:00
parent efc2d754d6
commit 794028e910

60
.dockerignore Normal file
View File

@@ -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/