From e4c01cb9aed99e846029279f9a4fa940e71de209 Mon Sep 17 00:00:00 2001 From: wozulong <> Date: Sat, 1 Feb 2025 22:18:22 +0800 Subject: [PATCH] update Dockerfile Signed-off-by: wozulong <> --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6943665..60f2bb9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,10 @@ FROM node:16 as builder WORKDIR /build COPY web/package.json . -RUN npm install +RUN yarn install COPY ./web . COPY ./VERSION . -RUN DISABLE_ESLINT_PLUGIN='true' VITE_REACT_APP_VERSION=$(cat VERSION) npm run build +RUN DISABLE_ESLINT_PLUGIN='true' VITE_REACT_APP_VERSION=$(cat VERSION) yarn build FROM golang AS builder2