-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dockerignore
More file actions
131 lines (115 loc) · 3.33 KB
/
Copy path.dockerignore
File metadata and controls
131 lines (115 loc) · 3.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# Exclude heavy agent implementations but keep essential files
ai_platform_engineering/agents/*/agent_*/**
!ai_platform_engineering/agents/*/agent_*/agentcard.py
!ai_platform_engineering/agents/*/agent_*/__init__.py
!ai_platform_engineering/agents/*/agent_*/__main__.py
!ai_platform_engineering/agents/*/agent_*/agent.py
!ai_platform_engineering/agents/*/agent_*/agent_langgraph.py
!ai_platform_engineering/agents/*/agent_*/agent_strands.py
!ai_platform_engineering/agents/*/agent_*/tools.py
!ai_platform_engineering/agents/*/agent_*/models.py
!ai_platform_engineering/agents/*/agent_*/state.py
!ai_platform_engineering/agents/*/agent_*/protocol_bindings/**
# Exclude special client directories for weather/webex (they use different structure)
ai_platform_engineering/agents/weather/agntcy_agent_client/**
!ai_platform_engineering/agents/weather/agntcy_agent_client/agentcard.py
!ai_platform_engineering/agents/weather/agntcy_agent_client/__init__.py
!ai_platform_engineering/agents/weather/agntcy_agent_client/__main__.py
!ai_platform_engineering/agents/weather/agntcy_agent_client/agent.py
ai_platform_engineering/agents/webex/a2a_agent_client/**
!ai_platform_engineering/agents/webex/a2a_agent_client/agentcard.py
!ai_platform_engineering/agents/webex/a2a_agent_client/__init__.py
!ai_platform_engineering/agents/webex/a2a_agent_client/__main__.py
!ai_platform_engineering/agents/webex/a2a_agent_client/agent.py
# Exclude heavy directories
# Allow MCP directories for workspace members
# ai_platform_engineering/agents/*/mcp/**
ai_platform_engineering/agents/*/build/**
ai_platform_engineering/agents/*/tests/**
ai_platform_engineering/agents/*/evals/**
ai_platform_engineering/agents/*/langgraph.json
ai_platform_engineering/agents/*/README.md
ai_platform_engineering/agents/*/CHANGELOG.md
ai_platform_engineering/agents/*/CODE_OF_CONDUCT.md
ai_platform_engineering/agents/*/MAINTAINERS.md
ai_platform_engineering/agents/*/Makefile
# Exclude main agent implementation files but keep __init__.py
ai_platform_engineering/agents/*/main.py
# NOTE: Don't exclude agent_*/__main__.py - it's needed for python -m execution
# ai_platform_engineering/agents/*/__main__.py
# Exclude other heavy directories
ai_platform_engineering/evaluation/**
ai_platform_engineering/cli/**
# This line ensures that all files under ai_platform_engineering/knowledge_bases/rag/clients/ are NOT ignored by Docker.
# In other words, it includes the entire rag/clients directory (and all its subdirectories/files) in the Docker build context,
# even if a previous ignore pattern would have excluded it.
!ai_platform_engineering/knowledge_bases/*
volumes/**
docker-compose/volumes/**
docs/**
workshop/**
# Python virtual environment - exclude ALL venv directories
.venv/
venv/
env/
**/.venv/
**/venv/
**/env/
# Python cache files
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
# Allow build directory files needed for Docker builds
!build/Dockerfile*
!build/*.sh
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# Testing
.pytest_cache/
.coverage
htmlcov/
.tox/
.nox/
coverage.xml
*.cover
*.py,cover
.hypothesis/
# Linting and formatting
.ruff_cache/
.flake8
.pylintrc
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Git
.git/
.gitignore
# Documentation
docs/_build/
# Logs
*.log
# Environment variables
.env
.env.local
.env.*.local