Commit f7cf574
committed
fix(docker): copy all workspace package.json manifests before pnpm install
Dockerfile.dev only copied fn-app and fn-runtime package.json before
`pnpm install --frozen-lockfile`. After PR #41 added fn-types,
fn-generator, fn-client, and fn-cli to packages/, those four workspaces
were absent at install time, so pnpm never created their
node_modules/@constructive-io symlinks. The later `pnpm build` then
failed inside the Docker image with TS2307 when fn-generator tried to
resolve `@constructive-io/fn-types`, breaking the CI Test K8s workflow
on main.
Verified locally: `docker build -f Dockerfile.dev .` now completes end
to end and packages/fn-generator/node_modules/@constructive-io/fn-types
resolves to the workspace package.1 parent eb8f9ff commit f7cf574
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
0 commit comments