Copy patches/ before pnpm install to fix docker build
This commit is contained in:
parent
e0b816d28f
commit
2236c0da31
1 changed files with 2 additions and 1 deletions
|
@ -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 . .
|
||||
|
|
Loading…
Reference in a new issue