Explorar el Código

ci: 将yarn.lock文件加入构建文件夹中

Jinyao hace 5 años
padre
commit
af4325ce40
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -2,6 +2,7 @@ FROM node:10-alpine as builder
 WORKDIR /code
 RUN yarn config set registry https://registry.npm.taobao.org/
 ADD package.json /code
+ADD yarn.lock /code
 RUN yarn install
 ADD . /code
 RUN yarn build:prod