-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.dockerignore
More file actions
33 lines (29 loc) · 982 Bytes
/
Copy path.dockerignore
File metadata and controls
33 lines (29 loc) · 982 Bytes
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
# Every broker/DB integration Dockerfile.runner uses the repo root as its
# build context (`context: ../../../..`) but only COPYs a handful of paths
# (the broker test package.json, tsconfig.json, src/, tests/). Without
# this file Docker streams the ENTIRE working tree to the daemon —
# node_modules, .git, the examples' bundled static assets, dist — which is
# gigabytes and makes a local `docker compose build` appear to hang at
# "transferring context". CI checkouts have no node_modules so they were
# already fast; this keeps local runs fast too.
#
# Keep this a denylist (not an allowlist) so a new top-level source dir
# isn't silently excluded from the image.
# Dependencies — reinstalled inside the image from the test package.json.
node_modules
**/node_modules
# VCS + local tooling.
.git
.github
.vscode
.idea
# Build output / coverage / logs.
dist
coverage
*.log
*.tsbuildinfo
# Not needed to build or run the test images.
examples
docs
benchmarks
.claude