소스 검색

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