Commit 588ab7a
fix(dashboard): ensure devDependencies are installed during Docker build (#780)
When NODE_ENV=production is set (common in CI environments), npm ci
skips devDependencies by default. This causes the build to fail with
"tsc: not found" because TypeScript is listed as a devDependency.
Adding --include=dev ensures TypeScript, Vite, and other build tools
are always installed regardless of environment configuration.
This has no impact on the final image size since devDependencies are
only used in the build stage and discarded in the multi-stage build.
Fixes #752
Signed-off-by: Noa Limoy <[email protected]>
Co-authored-by: Noa Limoy <[email protected]>
Co-authored-by: Huamin Chen <[email protected]>1 parent 6bb6ebc commit 588ab7a
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments