fix: disable eslint when building (close #371, close #376)

This commit is contained in:
JustSong 2023-08-12 09:29:29 +08:00
parent 3a18cebe34
commit 2b088a1678

View File

@ -4,7 +4,7 @@ WORKDIR /build
COPY ./web . COPY ./web .
COPY ./VERSION . COPY ./VERSION .
RUN npm install RUN npm install
RUN 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