From 7b8eff1f22a17fa60d8822fe36d7472d55b0f3b9 Mon Sep 17 00:00:00 2001 From: JustSong Date: Sun, 7 Jan 2024 15:15:02 +0800 Subject: [PATCH] fix: fix Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e9468b25c1..6d4e25a0b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY ./web/default . COPY ./VERSION . RUN mkdir -p ../build/default RUN GENERATE_SOURCEMAP='false' DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build -RUN mv build/* ../build/default +RUN mv -f build ../build/default WORKDIR /web/berry COPY web/berry/package.json . @@ -16,7 +16,7 @@ COPY ./web/berry . COPY ./VERSION . RUN mkdir -p ../build/berry RUN GENERATE_SOURCEMAP='false' DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build -RUN mv build/* ../build/berry +RUN mv -f build ../build/berry WORKDIR /web/build RUN ls