🎨 前端使用 pnpm
管理构建 https://github.com/siyuan-note/siyuan/issues/5059
This commit is contained in:
parent
aae6247e3c
commit
1e90545f04
1 changed files with 1 additions and 1 deletions
|
@ -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/
|
||||
|
|
Loading…
Add table
Reference in a new issue