Browse Source

Update 'nodejs/.ide/Dockerfile-Allinone-flutter'

天问 1 year ago
parent
commit
1bc0c4b5ae
1 changed files with 3 additions and 0 deletions
  1. 3 0
      nodejs/.ide/Dockerfile-Allinone-flutter

+ 3 - 0
nodejs/.ide/Dockerfile-Allinone-flutter

@@ -90,8 +90,11 @@ RUN export GOPROXY="https://goproxy.io,direct"
 RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
 RUN apt-get install -y nodejs
 RUN npm config set registry http://registry.npm.taobao.org --global
+RUN npm config set ELECTRON_MIRROR https://npmmirror.com/mirrors/electron/ --global
+RUN npm config set ELECTRON_BUILDER_BINARIES_MIRROR https://npmmirror.com/mirrors/electron-builder-binaries/ --global
 RUN npm install -g yarn pnpm
 
+
 LABEL email="liuyuqi<liuyuqi.gov@msn.cn>"
 WORKDIR /workspaces
 # RUN mvn package