瀏覽代碼

feat: Dockerfile add git

haha 3 年之前
父節點
當前提交
2f243632ec
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -1,5 +1,6 @@
 FROM node:12-alpine as builder
 FROM node:12-alpine as builder
 WORKDIR /code
 WORKDIR /code
+RUN apk add git
 RUN yarn config set registry https://registry.npm.taobao.org/
 RUN yarn config set registry https://registry.npm.taobao.org/
 ADD package.json /code
 ADD package.json /code
 RUN yarn install
 RUN yarn install