Commit e4a1f17
Noa Limoy
fix(dashboard): ensure devDependencies are installed during Docker build
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 <nlimoy@nlimoy-thinkpadp1gen7.raanaii.csb>1 parent 6ace72a commit e4a1f17
1 file changed
+1
-1
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 | | |
| |||
0 commit comments