From 1e90545f040deb465e4b443dcabe9352a6aa8733 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 31 May 2022 15:50:21 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=89=8D=E7=AB=AF=E4=BD=BF=E7=94=A8=20?= =?UTF-8?q?`pnpm`=20=E7=AE=A1=E7=90=86=E6=9E=84=E5=BB=BA=20https://github.?= =?UTF-8?q?com/siyuan-note/siyuan/issues/5059?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bf34473af..b289cfc16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM node:16 as NODE_BUILD WORKDIR /go/src/github.com/siyuan-note/siyuan/ ADD . /go/src/github.com/siyuan-note/siyuan/ RUN rm /go/src/github.com/siyuan-note/siyuan/app/package-lock.json -RUN cd app && npm install --legacy-peer-deps && npm run build +RUN cd app && npm install -g pnpm && pnpm install && pnpm run build FROM golang:alpine as GO_BUILD WORKDIR /go/src/github.com/siyuan-note/siyuan/