From 175a0e88bf44b52a6891e3e0271b770d1cea06e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=8C=E6=96=87=E9=BE=99?= Date: Thu, 9 Jun 2022 03:17:05 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'16/Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 16/Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/16/Dockerfile b/16/Dockerfile index a198595..ebdc358 100644 --- a/16/Dockerfile +++ b/16/Dockerfile @@ -2,13 +2,13 @@ FROM repository.anxinyun.cn/devops/alpine:3-tz-hw ENV NODE_VERSION 16.14.2 -RUN addgroup -g 1000 node \ - && adduser -u 1000 -G node -s /bin/sh -D node \ - && apk add --no-cache nodejs==${NODE_VERSION}-r0 npm yarn \ - && node --version \ - && npm --version \ - && yarn --version \ - && npm config set registry https://registry.npm.taobao.org +RUN addgroup -g 1000 node; \ + adduser -u 1000 -G node -s /bin/sh -D node; \ + apk add --no-cache nodejs==${NODE_VERSION}-r0 npm yarn; \ + node --version; \ + npm --version; \ + yarn --version; \ + npm config set registry https://registry.npm.taobao.org COPY docker-entrypoint.sh /usr/local/bin/