From d33a279aab166dcf05994be4a514682971879877 Mon Sep 17 00:00:00 2001 From: RudrenduPaul Date: Thu, 16 Jul 2026 22:43:54 -0700 Subject: [PATCH] fix: make .dockerignore ignore node_modules at any depth .dockerignore uses gitignore-like syntax but the two differ: a bare node_modules/ pattern in .dockerignore only matches the top-level node_modules directory, unlike .gitignore where the same pattern matches at any depth. Prefix the pattern with **/ so it is excluded from the build context regardless of nesting. --- .dockerignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 87af36b1313..8273162d3c0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -4,7 +4,7 @@ Dockerfile .gitignore LICENSE README.md -node_modules/ +**/node_modules/ .svelte-kit/ .env* !.env