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

I am using a similair docker setup and it works just fine. On ARM locally (m2) and used to run ubuntu amd servers, now arm servers. no problems.