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"]