Skip to content

fix: build framework and router packages before commerce in Docker#188

Merged
mohamedmansour merged 1 commit intomainfrom
user/mmansour/demo-docker
Apr 8, 2026
Merged

fix: build framework and router packages before commerce in Docker#188
mohamedmansour merged 1 commit intomainfrom
user/mmansour/demo-docker

Conversation

@mohamedmansour
Copy link
Copy Markdown
Contributor

The commerce app imports from @microsoft/webui-framework and @microsoft/webui-router, but the Dockerfile never built those workspace packages before running the commerce build. This caused esbuild to fail because dist/index.js did not exist.

Add a pnpm build step for both packages between install and the commerce build.

The commerce app imports from @microsoft/webui-framework and
@microsoft/webui-router, but the Dockerfile never built those
workspace packages before running the commerce build. This caused
esbuild to fail because dist/index.js did not exist.

Add a pnpm build step for both packages between install and the
commerce build.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mohamedmansour mohamedmansour merged commit c2dc462 into main Apr 8, 2026
21 checks passed
@mohamedmansour mohamedmansour deleted the user/mmansour/demo-docker branch April 8, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants