diff --git a/Dockerfile.worker b/Dockerfile.worker index bd6a551c..71613dee 100644 --- a/Dockerfile.worker +++ b/Dockerfile.worker @@ -19,6 +19,7 @@ COPY src/server/package.json ./ COPY src/server/yarn.lock ./ COPY src/server/src ./src RUN yarn install --non-interactive --immutable +RUN npm rebuild --arch=x64 --platform=linux --libc=musl sharp FROM copy AS pre-build COPY src/server/tsconfig.json ./