From 2236c0da313b7e2d12532ff4aac6afdaf7ed586d Mon Sep 17 00:00:00 2001 From: Haishan Date: Wed, 22 Mar 2023 11:30:41 +0800 Subject: [PATCH] Copy patches/ before pnpm install to fix docker build --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2fdb698..d07a9dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . .