This commit is contained in:
Liang Ding 2022-05-31 15:50:21 +08:00
parent aae6247e3c
commit 1e90545f04
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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/