perf: use yarn instead of npm

This commit is contained in:
JustSong
2024-11-10 16:54:35 +08:00
parent 0f39a36ec2
commit 431c0d6e15
+2 -2
View File
@@ -3,8 +3,8 @@ FROM node:16 as builder
WORKDIR /build
COPY ./web .
COPY ./VERSION .
RUN npm install
RUN REACT_APP_VERSION=$(cat VERSION) npm run build
RUN yarn install
RUN REACT_APP_VERSION=$(cat VERSION) yarn build
FROM golang AS builder2