From e0b7e6a9e286b533ed76bd178f637c27497e0056 Mon Sep 17 00:00:00 2001 From: JustSong Date: Fri, 7 Feb 2025 00:39:55 +0800 Subject: [PATCH] fix: unify version retrieval in Dockerfile build commands --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 10768435..d6e7ee3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,9 @@ RUN npm install --prefix /web/default & \ npm install --prefix /web/air & \ wait -RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat /web/default/VERSION) npm run build --prefix /web/default & \ - DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat /web/berry/VERSION) npm run build --prefix /web/berry & \ - DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat /web/air/VERSION) npm run build --prefix /web/air & \ +RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat ./VERSION) npm run build --prefix /web/default & \ + DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat ./VERSION) npm run build --prefix /web/berry & \ + DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat ./VERSION) npm run build --prefix /web/air & \ wait FROM golang AS builder2