Browse Source

update dockerfile

Zhang Li 2 years ago
parent
commit
48f437dbc9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Dockerfile.txtest

+ 2 - 2
Dockerfile.txtest

@@ -1,7 +1,7 @@
-FROM node:14-buster as build
+FROM node:16-buster as build
 WORKDIR /workspace
 COPY package.json .
-RUN npm install
+RUN npm install  --force --registry=https://registry.npm.taobao.org
 ADD . /workspace
 RUN npm run build:txtest