Files
OSIT-AE-App-Svelte/Dockerfile
Scott Idem 8062006a21 fix(docker): copy scripts/ before npm install; skip postinstall in deploy stage
The postinstall hook (scripts/postinstall.mjs) runs during `npm install`, but the
Dockerfile only copied package*.json before that step, so the script wasn't present.

- Copy scripts/ alongside package*.json in the builder stage.
- Add --ignore-scripts to the deploy-stage npm install: flowbite-svelte is a
  devDependency and won't be installed there, so the postinstall patch is irrelevant
  and the script file won't be available in that stage anyway.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 18:39:06 -04:00

2.3 KiB