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
|
WORKDIR /app
|
||||||
|
|
||||||
RUN npm i -g pnpm
|
RUN npm i -g pnpm
|
||||||
COPY pnpm-lock.yaml package.json .
|
COPY pnpm-lock.yaml package.json ./
|
||||||
|
COPY ./patches/ ./patches/
|
||||||
RUN pnpm i
|
RUN pnpm i
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
Loading…
Reference in a new issue