Docker strapi node:18.16-alpine sharp (node-gyp) problem (SOLVED)

I solved this issue by adding RUN npm install -g node-gyp before yarn install.