Sfoglia il codice sorgente

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

JustSong 2 anni fa
parent
commit
2b088a1678
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -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