Remove unused npm from documentation runtime image #3
No reviewers
Labels
No labels
app-migration
bug
ci-cd
cluster
Documentation
duplicate
enhancement
gpu
invalid
networking
question
security
Storage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Homelab/Documentation!3
Loading…
Reference in a new issue
No description provided.
Delete branch "kiyi/remove-npm-from-docs-runtime"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the failed Build scanned documentation image run. The source gate and container build passed; the final-image gate blocked eight findings in the pinned Node base image’s global npm packages.
The production server runs with
node server.jsand uses its standalone dependencies. Remove the unused global npm installation and npm/npx links from the final stage while retaining npm in the build stage.Validation:
npm run checkandnpm run buildpassed locally. The public diff is limited to the Dockerfile. Docker is unavailable locally, so the final-image scan must be rerun on protectedmainafter merge.kiyi referenced this pull request2026-10-10 15:27:27 -05:00