Skip to content

Commit

Permalink
Copy patches/ before pnpm install to fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
haishanh committed Mar 22, 2023
1 parent e0b816d commit 2236c0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ FROM --platform=$BUILDPLATFORM node:alpine AS builder
WORKDIR /app

RUN npm i -g pnpm
COPY pnpm-lock.yaml package.json .
COPY pnpm-lock.yaml package.json ./
COPY ./patches/ ./patches/
RUN pnpm i

COPY . .
Expand Down

0 comments on commit 2236c0d

Please sign in to comment.