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

This commit is contained in:
JustSong committed 2023-08-12 09:29:29 +08:00
1 parent e32ab8b7f4
commit 31a75c0737
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@ WORKDIR /build
COPY ./web .
COPY ./VERSION .
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