Fix prod image: move build deps to devDependencies, restore proper npm install
The production stage was using an ad-hoc npm install without package.json, which could pull unexpected package versions and lost the lockfile guarantee. Moved all React/build/test/type packages to devDependencies so the production stage can use npm install --omit=dev cleanly, installing only express, cors, and docx — exactly what server.js needs. Regenerated lockfile to match. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
c2459c000e
commit
a35ba756ca
3 files changed
+1273
-7
No files matched your search
Generated
+1266
-3
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user