更新 Dockerfile-node-dev1
正在显示
1 个修改的文件
包含
5 行增加
和
1 行删除
... | @@ -2,6 +2,10 @@ FROM registry-vpc.cn-shenzhen.aliyuncs.com/sibu/node:16.13.2 | ... | @@ -2,6 +2,10 @@ FROM registry-vpc.cn-shenzhen.aliyuncs.com/sibu/node:16.13.2 |
2 | 2 | ||
3 | COPY . . | 3 | COPY . . |
4 | 4 | ||
5 | RUN rm -rf Jenkinsfile deploy | 5 | RUN node --version \ |
6 | && yarn config set registry https://npm.77s.vip \ | ||
7 | && yarn install \ | ||
8 | && yarn build \ | ||
9 | && rm -rf Jenkinsfile deploy | ||
6 | 10 | ||
7 | CMD yarn start:dev | 11 | CMD yarn start:dev |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
请 注册 或 登录 后发表评论