Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(e2e): scope node_modules dockerignore to the CLI image only

Kshitij Jhunjhunwala14011b90576c
diff --git a/.dockerignore b/.dockerignore
deleted file mode 100644
index bd6341892..000000000
--- a/.dockerignore
+++ /dev/null
@@ -1,5 +0,0 @@
-# The e2e Dockerfiles (ts/e2e-tests/_utils/Dockerfile.*) pnpm-install inside
-# the image; host node_modules are pnpm symlinks into a store that is not
-# copied, so they must never enter the build context.
-**/node_modules
-.git
diff --git a/ts/e2e-tests/_utils/Dockerfile.cli.dockerignore b/ts/e2e-tests/_utils/Dockerfile.cli.dockerignore
new file mode 100644
index 000000000..01aca5d8a
--- /dev/null
+++ b/ts/e2e-tests/_utils/Dockerfile.cli.dockerignore
@@ -0,0 +1,10 @@
+# Scoped to Dockerfile.cli only (BuildKit <Dockerfile>.dockerignore). This image
+# pnpm-installs inside the build; host node_modules are pnpm symlinks into a
+# store that is not copied, so they must never enter its build context.
+#
+# Deliberately NOT a root .dockerignore: Dockerfile.node copies ts/e2e-tests/
+# after its pnpm install, and the runtime fixtures without a setup phase (e.g.
+# runtimes/node/claude-agent-sdk) resolve their deps through those copied-in
+# node_modules.
+**/node_modules
+.git