mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 前端使用 pnpm 管理构建 https://github.com/siyuan-note/siyuan/issues/5059
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user