-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy path.dockerignore
More file actions
172 lines (153 loc) · 4.28 KB
/
Copy path.dockerignore
File metadata and controls
172 lines (153 loc) · 4.28 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# 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_*/vault_utils.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
/volumes/
volumes
volumes/
volumes/**
**/volumes
**/volumes/
**/volumes/**
docker-compose/volumes
docker-compose/volumes/
docker-compose/volumes/**
docs/**
workshop/**
# Python virtual environment - exclude ALL venv directories
.venv/
venv/
env/
**/.venv/
**/venv/
**/env/
# assisted-by Codex Codex-sonnet-4-6
# Node dependencies are rebuilt inside their own images; copying local
# node_modules into the backend image pulls host-only binaries into scans.
node_modules/
**/node_modules/
# Python cache files
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
# Allow build directory files needed for Docker builds
!build/Dockerfile*
!build/*.sh
# UI build artifacts must never enter the root Docker build context. If a
# stale `.next` directory is copied before `next build`, Turbopack can reuse
# obsolete server route chunks even when the TypeScript source has changed.
node_modules/
ui/.next/
ui/node_modules/
.git/
.beads/
test-results/
ui/test-results/
ui/playwright-report/
!build/skill-scanner-patches/
!build/skill-scanner-patches/**
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
# UI build artifacts (host-side; rebuilt fresh inside the image)
ui/node_modules
ui/.next
ui/.turbo
**/node_modules
**/.next
ui/.env
ui/.env.local
ui/.env.*.local
!ui/.env.example