]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(webui-docker): include workspace root node_modules so pnpm symlinks resolve ...
authorDaniel <7558512+DerGenaue@users.noreply.github.com>
Tue, 21 Apr 2026 11:52:00 +0000 (13:52 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Apr 2026 11:52:00 +0000 (13:52 +0200)
commit683476435546765d521f363f4ddb7451af268527
tree39a617803e983d9e367d95081f27b6c8104f5e95
parentdbb97172a39a56c1f4370984dce1d70c02b206cc
fix(webui-docker): include workspace root node_modules so pnpm symlinks resolve (#1806)

ui/web/node_modules is a pnpm workspace package whose entries are
symlinks into ../../../node_modules/.pnpm/..., i.e. the workspace
root's store. The previous Dockerfile only copied ui/web/node_modules
into the final image, leaving every symlink dangling and breaking
`node start.js` with "Cannot find package 'finalhandler'".

Copy the workspace root node_modules to /node_modules in the final
image so the relative symlinks resolve.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ui/web/docker/Dockerfile