fix: inject linux-musl sharp binaries into build/ to fix 502 on Dokploy

build.sh runs npm run build on macOS, so only the host's sharp binary
(darwin-arm64) got traced into the standalone output. The container
runs node:20-alpine (Linux, musl libc), which cannot load that binary
- the server crashed at runtime, causing a 502 even though the docker
build itself succeeded.

npm pack can fetch another platform's prebuilt sharp/libvips tarballs
without an install-time OS check, so build.sh now pulls the
linux-musl x64 and arm64 builds directly into build/node_modules and
drops the now-unused host binary.
This commit is contained in:
2026-07-14 12:41:07 +05:30
parent 29e11189e8
commit 2eab221eff
551 changed files with 75742 additions and 22 deletions

View File

@@ -0,0 +1,108 @@
{
"node": {
"40178d6214c1b2a677a6ba1e043a26ad439d28ae9a": {
"workers": {
"app/_not-found/page": {
"moduleId": 75341,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/about-us/page": {
"moduleId": 16945,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/air-freight/page": {
"moduleId": 67113,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/blog/[slug]/page": {
"moduleId": 68232,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/blog/page": {
"moduleId": 62245,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/contact/page": {
"moduleId": 8829,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/cookie-policy/page": {
"moduleId": 78012,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/doormile-wings/page": {
"moduleId": 64668,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/empowerment/page": {
"moduleId": 61215,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/express/page": {
"moduleId": 88309,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/how-it-works/page": {
"moduleId": 1090,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/miletruth/page": {
"moduleId": 59753,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/page": {
"moduleId": 71970,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/privacy-policy/page": {
"moduleId": 84290,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/solutions/page": {
"moduleId": 44019,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
},
"app/terms-of-service/page": {
"moduleId": 61702,
"async": false,
"exportedName": "sendEmailAction",
"filename": "src/actions/sendEmail.ts"
}
},
"filename": "src/actions/sendEmail.ts",
"exportedName": "sendEmailAction"
}
},
"edge": {},
"encryptionKey": "hrqeOE/Swb5rS+BfjkjoNDCYu2XTbAWLJe+pBPg2Doo="
}