Commit ee26f4d
authored
fix(docker): copy pnpm patches into image build context (#450)
The js-yaml security fix added pnpm patchedDependencies (gray-matter, read-yaml-file) referenced by pnpm-workspace.yaml. The image builds run pnpm install --frozen-lockfile from the repo-root context but never copied the patches/ directory, so the install failed with ENOENT on the patch files (breaking the release Docker build). Add COPY patches ./patches/ before each frozen install in testplanit/Dockerfile (base + deps stages) and docs/Dockerfile.
Verified by building the deps stage locally: the previously failing pnpm install --frozen-lockfile now completes.1 parent 72b340a commit ee26f4d
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
71 | 78 | | |
72 | 79 | | |
73 | 80 | | |
| |||
0 commit comments