Преглед изворни кода

perf: use yarn instead of npm

JustSong пре 11 месеци
родитељ
комит
431c0d6e15
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

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