build: npm version

This commit is contained in:
suziheng 2025-09-15 15:17:55 +08:00
parent 04de01c798
commit 4d3add220e

View File

@ -4,9 +4,9 @@ WORKDIR /web
COPY ./VERSION .
COPY ./web .
RUN npm install --prefix /web/default && \
npm install --prefix /web/berry && \
npm install --prefix /web/air
RUN npm install --legacy-peer-deps --prefix /web/default && \
npm install --legacy-peer-deps --prefix /web/berry && \
npm install --legacy-peer-deps --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 && \