Having problems to build a docker production image due the sharp issues on ARM

but macOS or something else

An old z440 workstation

with a xeon

Linux ubuntu

what nodejs version do you use?

what weirds me out a bit is how the same image that’s throwing the error works just fine on AppEngine of gcloud

yarn 1.22.22

wait could it be the yarn version?

nah i don’t think soo

in docker do you use the alpine image?

FROM node:20-alpine

tried urs as well same thing

alpine dow not really contain too much, maybe thats the trigger

I will try out with another image tomorrow

ima keep trying tonight as much as i can lol

this is the one that works for you currently right?

but this works in your case Discord ?

development doesn’t work

i am trying to add the ENV SHARP_IGNORE_GLOBAL_LIBVIPS=1
variable rn

and see how it goes