🎨 Upgrade docker image node version to 16

This commit is contained in:
Daniel 2023-12-14 15:47:27 +08:00
parent 55787942c7
commit 3f38302731
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1,4 +1,4 @@
FROM node:16 as NODE_BUILD
FROM node:21 as NODE_BUILD
WORKDIR /go/src/github.com/siyuan-note/siyuan/
ADD . /go/src/github.com/siyuan-note/siyuan/
RUN cd app && npm install -g pnpm && pnpm install && pnpm run build