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.
7 lines
323 B
JavaScript
7 lines
323 B
JavaScript
var R=require("../../chunks/[turbopack]_runtime.js")("server/app/icon.png/route.js")
|
|
R.c("server/chunks/[root-of-the-server]__0nwnmaq._.js")
|
|
R.c("server/chunks/[root-of-the-server]__0j8-xkl._.js")
|
|
R.c("server/chunks/_next-internal_server_app_icon_png_route_actions_12.gv.r.js")
|
|
R.m(72755)
|
|
module.exports=R.m(72755).exports
|