From 431c0d6e15126104f0680702f29da28f513f64a4 Mon Sep 17 00:00:00 2001 From: JustSong Date: Sun, 10 Nov 2024 16:54:35 +0800 Subject: [PATCH] perf: use yarn instead of npm --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 44bd90c..38e9701 100644 --- a/Dockerfile +++ b/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