From 2fd6e21622d4256a501dc859ceb856844aa060f4 Mon Sep 17 00:00:00 2001 From: Anto Subash Date: Wed, 1 Apr 2026 10:19:02 +0200 Subject: [PATCH] Fix Docker build by allowing workspace package.json files through .dockerignore The npm-restore stage needs package.json from tests/e2e, docs/site, and website workspaces for npm ci, but .dockerignore excluded those directories entirely. Add negation rules to let the three package.json files through. --- .dockerignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.dockerignore b/.dockerignore index 9904339e..410e357d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -16,6 +16,7 @@ # Tests (not needed for Host build) tests/ +!tests/e2e/package.json modules/*/tests/ # Development artifacts @@ -28,7 +29,9 @@ modules/*/tests/ SimpleModule.AppHost/ cli/ docs/ +!docs/site/package.json website/ +!website/package.json # CI/CD and tooling .github/