forked from beenuar/AiSOC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dockerignore
More file actions
82 lines (75 loc) · 2.21 KB
/
Copy path.dockerignore
File metadata and controls
82 lines (75 loc) · 2.21 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
# AiSOC monorepo .dockerignore
# Keeps the build context small for `flyctl deploy --config infra/fly/web/fly.toml`
# (run from repo root). The web Dockerfile only needs apps/web, packages/, and
# a handful of root config files (package.json, pnpm-workspace.yaml, pnpm-lock,
# turbo.json, tsconfig.base.json). Everything else is dead weight and pushed
# the context past 1.6GB on uncached deploys.
#
# Each service Docker build context is its own service directory (per
# infra/fly/fly-demo-deploy.sh), so excluding services/ here only affects the
# web build, which doesn't need them.
# ─── VCS / agent state ────────────────────────────────────────────────────────
.git
.github
.gitignore
.gitattributes
.claude
.vscode
.idea
.husky
agent-transcripts/
terminals/
*.log
# ─── Node / build artifacts (will be reinstalled inside the image) ────────────
**/node_modules
**/.next
**/.turbo
**/dist
**/build
**/.nyc_output
**/coverage-final.json
**/.cache
**/.parcel-cache
**/.eslintcache
**/.tsbuildinfo
**/*.tsbuildinfo
# ─── Python (services/*) — excluded from the web build entirely ───────────────
services/
**/__pycache__
**/*.pyc
**/*.pyo
**/.venv
**/venv
**/.pytest_cache
**/.mypy_cache
**/.ruff_cache
# ─── Other top-level monorepo dirs the web app does not need ──────────────────
infra/
detections/
marketplace/
plugins/
docs/
apps/docs
ops/
scripts/
tests/
e2e/
benchmarks/
# ─── Local env / secrets (never bake into images) ─────────────────────────────
.env
.env.*
!.env.example
*.pem
*.key
*.crt
# ─── OS / editor cruft ────────────────────────────────────────────────────────
.DS_Store
Thumbs.db
*.swp
*.swo
# ─── Misc generated assets ────────────────────────────────────────────────────
*.tar
*.tar.gz
*.zip
tmp/
temp/