Skip to content

Commit

Permalink
fix(docker): install sharp with the right arch
Browse files Browse the repository at this point in the history
  • Loading branch information
louisgrasset committed Nov 29, 2023
1 parent d10bb1d commit bd9f1f7
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 @@ -10,7 +10,7 @@ COPY scripts/ /app/scripts
COPY package.json package-lock.json tsconfig.json .eslintrc.json /app/

RUN npm run prebuild
RUN npm ci --ignore-scripts && npm run build
RUN npm ci --ignore-scripts && npm install --verbose --foreground-scripts --arch=x64 --platform=linux --libc=glibc sharp && npm run build

RUN echo "" > .env

Expand Down

0 comments on commit bd9f1f7

Please sign in to comment.