ZhangYi2020 2 лет назад
Родитель
Сommit
2801260324
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -1,8 +1,8 @@
 FROM node:16 AS base
 WORKDIR /code
-RUN yarn config set registry https://registry.npmmirror.com
+RUN npm config set registry https://registry.npmmirror.com
 ADD package.json /code
-RUN yarn install
+RUN npm install
 ADD . /code  
 RUN yarn build