From 8446a6d81368cc1fe68713a5e10f6e02659da829 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Fri, 26 May 2023 09:09:57 +0800 Subject: [PATCH] chore: node 16 --- docker/image/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/image/Dockerfile b/docker/image/Dockerfile index a312f94b..c79f6655 100644 --- a/docker/image/Dockerfile +++ b/docker/image/Dockerfile @@ -1,8 +1,8 @@ FROM registry.cn-shenzhen.aliyuncs.com/handsfree/node:16-alpine -RUN npm install -g yarn && npm install -g cross-env +RUN npm install -g yarn --registry=https://registry.npmmirror.com && npm install -g cross-env --registry=https://registry.npmmirror.com ADD ./workspace/certd-server/ /app/ WORKDIR /app/ -RUN yarn install -P +RUN yarn install -P --registry=https://registry.npmmirror.com CMD ["npm","run","start"]