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:
@@ -0,0 +1,45 @@
|
||||
1:"$Sreact.fragment"
|
||||
3:I[89937,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0g-e9tnpen8jn.js","/_next/static/chunks/17iyy9kp8dsf4.js"],"default"]
|
||||
4:I[40086,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0g-e9tnpen8jn.js","/_next/static/chunks/17iyy9kp8dsf4.js"],"default"]
|
||||
5:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0g-e9tnpen8jn.js"],"OutletBoundary"]
|
||||
6:"$Sreact.suspense"
|
||||
2:T5ca,
|
||||
/* Fix "Why Businesses Choose Doormile" section — anchor absolute image left, push content right */
|
||||
.elementor-element.elementor-element-ead59d3 {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.elementor-element.elementor-element-f35119c {
|
||||
position: absolute !important;
|
||||
left: -2% !important;
|
||||
top: 50% !important;
|
||||
transform: translateY(-50%) !important;
|
||||
width: 48% !important;
|
||||
max-width: 520px !important;
|
||||
opacity: 0.18 !important;
|
||||
z-index: 0 !important;
|
||||
pointer-events: none;
|
||||
}
|
||||
.elementor-element.elementor-element-56ecbb3 {
|
||||
position: relative !important;
|
||||
z-index: 1 !important;
|
||||
width: 55% !important;
|
||||
max-width: 55% !important;
|
||||
margin-left: auto !important;
|
||||
margin-right: 4% !important;
|
||||
}
|
||||
.elementor-element.elementor-element-56ecbb3 .e-con-inner {
|
||||
max-width: 100% !important;
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
@media (max-width: 1020px) {
|
||||
.elementor-element.elementor-element-f35119c { display: none !important; }
|
||||
.elementor-element.elementor-element-56ecbb3 {
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
0:{"rsc":["$","$1","c",{"children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],["$","div",null,{"id":"solutions","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"59","className":"elementor elementor-59","children":[["$","$L3",null,{}],["$","$L4",null,{}]]}]}]}]}]],[["$","script","script-0",{"src":"/_next/static/chunks/17iyy9kp8dsf4.js","async":true}]],["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"Erg3te-xsOHqlolgOFE_K"}
|
||||
7:null
|
||||
Reference in New Issue
Block a user