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.
22 lines
742 B
JSON
22 lines
742 B
JSON
{
|
|
"/_global-error/page": "/_global-error",
|
|
"/_not-found/page": "/_not-found",
|
|
"/about-us/page": "/about-us",
|
|
"/air-freight/page": "/air-freight",
|
|
"/blog/[slug]/page": "/blog/[slug]",
|
|
"/blog/page": "/blog",
|
|
"/contact/page": "/contact",
|
|
"/cookie-policy/page": "/cookie-policy",
|
|
"/doormile-wings/page": "/doormile-wings",
|
|
"/empowerment/page": "/empowerment",
|
|
"/express/page": "/express",
|
|
"/favicon.ico/route": "/favicon.ico",
|
|
"/how-it-works/page": "/how-it-works",
|
|
"/icon.png/route": "/icon.png",
|
|
"/miletruth/page": "/miletruth",
|
|
"/page": "/",
|
|
"/privacy-policy/page": "/privacy-policy",
|
|
"/sitemap.xml/route": "/sitemap.xml",
|
|
"/solutions/page": "/solutions",
|
|
"/terms-of-service/page": "/terms-of-service"
|
|
} |