[Audit] Docker/production build uses `npm install` instead of the CI-tested `npm ci`
Filed from the second-wave repository audit (issue 54/100). See the audit summary for full category context.
- Location:
backend/Dockerfile:14,render.yaml:8 - Problem: Both the backend's Docker builder stage and the Render.com production build command use
npm install, while every CI install path usesnpm cito pin exact lockfile versions. The image/deployment that actually ships to production can resolve different dependency versions than what CI tested. - Evidence:
RUN npm installinDockerfile:14;npm install && npm run prisma:generate && npm run buildinrender.yaml:8. - Suggested implementation: Change both to
npm cifor deterministic, lockfile-pinned installs matching CI. - Acceptance criteria: Docker build and Render build both use
npm ci; a CI check confirmspackage-lock.jsonisn't modified as a result. - Difficulty: S
- Expected impact: Eliminates a real "works in CI, different in prod" dependency-drift risk for a financial application.
@omoh5 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
Please assign
ℹ️ Repo Maintainers: To accept this application, review their application or assign @omoh5 to this issue.
@Adediwura-dev has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
I can handle this, kindly assign
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Adediwura-dev to this issue.
@solidsole has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
Please assign this issue to me .... ill begin immediately and wont disappoint...
ℹ️ Repo Maintainers: To accept this application, review their application or assign @solidsole to this issue.
@ayomustap has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
Hi maintainer, I would love to work on this issue. I can get started on it right away.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @ayomustap to this issue.
Congratulations, @omoh5! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @omoh5: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
This issue has been completed by @omoh5 as part of the Stellar Wave Program's 10th Wave 🥳
😎 @omoh5: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.