瀏覽代碼

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

JustSong 2 年之前
父節點
當前提交
2b088a1678
共有 1 個文件被更改,包括 1 次插入1 次删除
  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