Skip to content

Commit

Permalink
fix: add musl
Browse files Browse the repository at this point in the history
  • Loading branch information
armand1m committed Mar 12, 2024
1 parent a69d61c commit e4f3da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:20-alpine AS builder
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn
RUN npm_config_platform=linux yarn add sharp
RUN npm_config_platform=linux npm_config_libc=musl yarn add sharp
COPY . .
RUN yarn build

Expand Down

0 comments on commit e4f3da0

Please sign in to comment.