d381f8b720b0609c3eb15cdbeb8812fe99505d4c
npm install re-resolves the full dependency tree from the registry on
every --no-cache build, making two full network round-trips (root + client).
Any slow registry response causes it to appear hung.
Changes:
- Replace both 'npm install' with 'npm ci':
no dependency resolution step, uses lockfile as-is, exits fast on
any mismatch rather than silently upgrading
- Copy package.json + package-lock.json explicitly (not glob) so the
lockfile is always present for npm ci to validate against
- Set npm fetch timeouts (5s min, 30s max, 3 retries) so failures
surface quickly rather than hanging indefinitely
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
98.2%
Dockerfile
0.5%
JavaScript
0.5%
CSS
0.4%
Shell
0.2%
Other
0.2%