From f5e5e7d7c711d4a0188c06161398a6b7190de29f Mon Sep 17 00:00:00 2001 From: Stephan Butler Date: Thu, 13 Aug 2026 09:54:29 +0200 Subject: [PATCH 1/2] fix: local env files should not be baked in --- .dockerignore | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index d4a2153d1..8f09025b4 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,10 @@ **/node_modules **/dist **/Dockerfile.dev -**/Dockerfile.prod \ No newline at end of file +**/Dockerfile.prod + +# .env.local holds local development values and is committed to the repo. +# Next.js loads it during `next build`, so if it reaches the build context it +# overrides the build args baked into the published image (and dotenv-expand +# mangles any value containing a `$`). Keep it out of image builds. +packages/wallet/frontend/.env.local \ No newline at end of file From 719edac6b08d5ea959dd35d422b09c3442ba9e82 Mon Sep 17 00:00:00 2001 From: Stephan Butler Date: Thu, 13 Aug 2026 10:14:31 +0200 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .dockerignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 8f09025b4..de3c238bf 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,4 +7,5 @@ # Next.js loads it during `next build`, so if it reaches the build context it # overrides the build args baked into the published image (and dotenv-expand # mangles any value containing a `$`). Keep it out of image builds. -packages/wallet/frontend/.env.local \ No newline at end of file +**/.env +**/.env.local \ No newline at end of file