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>
2.3 KiB
2.3 KiB