mirror of
https://github.com/songquanpeng/message-pusher.git
synced 2026-04-22 15:07:13 +08:00
perf: use yarn instead of npm
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user