fix: fix Dockerfile

This commit is contained in:
JustSong 2024-01-07 15:17:21 +08:00
parent 7b8eff1f22
commit aa3f605894

View File

@ -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 -f build ../build/default
RUN ls
WORKDIR /web/berry
COPY web/berry/package.json .
@ -16,7 +16,6 @@ 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 -f build ../build/berry
WORKDIR /web/build
RUN ls