修改dockerfile

This commit is contained in:
suziheng 2024-12-02 11:01:30 +08:00
parent a9f42abb59
commit 4882fd60ab

View File

@ -5,15 +5,15 @@ COPY ./VERSION .
COPY ./web . COPY ./web .
WORKDIR /web/default WORKDIR /web/default
RUN npm install RUN npm install --legacy-peer-deps
RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build
WORKDIR /web/berry WORKDIR /web/berry
RUN npm install RUN npm install --legacy-peer-deps
RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build
WORKDIR /web/air WORKDIR /web/air
RUN npm install RUN npm install --legacy-peer-deps
RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build
FROM golang AS builder2 FROM golang AS builder2