diff --git a/.dockerignore b/.dockerignore index 0ec45acbf..e4d93ad6c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,6 @@ prover/ .git/ +.claude/ contracts/node_modules/ gas-oracle/app/target/ node/build/ diff --git a/ops/devnet-morph/tests/test_devnet_config.py b/ops/devnet-morph/tests/test_devnet_config.py index 1b88cc38c..836c75091 100644 --- a/ops/devnet-morph/tests/test_devnet_config.py +++ b/ops/devnet-morph/tests/test_devnet_config.py @@ -17,6 +17,10 @@ def test_root_dockerignore_excludes_generated_build_outputs(self): "gas-oracle/app/target/", "node/build/", "ops/docker/.devnet/", + # Claude Code keeps its worktrees here; on a machine that has used + # one, this is the single largest directory in the repo and every + # image build would ship it as build context. + ".claude/", ): self.assertIn(generated_path, dockerignore)