what did u change to get it to work exactly?
instead ENV NODE_ENV=production I used ENV NODE_ENV=development, but as I said this is not eligible for fix
that didn’t fix it for me at all
here the is the image Docker but in your case might not work as I use ARM arch
yea the env type didn’t fix it for me it def it has to do with the system
I will keep this thread up to date as I have a workaround
I also will keep you up to date
between you could try to downgrade node:20-alpine3.18 to node:18-alpine3.18
i have other dependecies not letting me
Linux ARM (glibc >= 2.28)
Linux ARM64 (glibc >= 2.26, musl >= 1.2.2)
Linux s390x (glibc >= 2.28)
Linux x64 (glibc >= 2.26, musl >= 1.2.2, CPU with SSE4.2)
requirements of sharp
trying something new
FROM node:20-slim
ik it’s not the perfect solution
but i’ll see what this one does
turns out it doesn’t like musl types
node:20-slim is a glibc thus it worked
I think the problem is that sharp doesnt have compiled binaries for that os so it needs to compile from source but u lack the tools for it
Try to install libvips
still not able to rollout using as flag production