瀏覽代碼

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

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