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:
nmemmertandClaude Sonnet 4.6 committed 2026-07-21 10:01:38 -04:00
1 parent c2459c000e
commit a35ba756ca
3 files changed
+1273 -7

No files matched your search

+1266 -3
View File
File diff suppressed because it is too large. Load diff