Browse Source

更新 '16/Dockerfile'

main
凌文龙 2 years ago
parent
commit
175a0e88bf
  1. 14
      16/Dockerfile

14
16/Dockerfile

@ -2,13 +2,13 @@ FROM repository.anxinyun.cn/devops/alpine:3-tz-hw
ENV NODE_VERSION 16.14.2 ENV NODE_VERSION 16.14.2
RUN addgroup -g 1000 node \ RUN addgroup -g 1000 node; \
&& adduser -u 1000 -G node -s /bin/sh -D node \ adduser -u 1000 -G node -s /bin/sh -D node; \
&& apk add --no-cache nodejs==${NODE_VERSION}-r0 npm yarn \ apk add --no-cache nodejs==${NODE_VERSION}-r0 npm yarn; \
&& node --version \ node --version; \
&& npm --version \ npm --version; \
&& yarn --version \ yarn --version; \
&& npm config set registry https://registry.npm.taobao.org npm config set registry https://registry.npm.taobao.org
COPY docker-entrypoint.sh /usr/local/bin/ COPY docker-entrypoint.sh /usr/local/bin/

Loading…
Cancel
Save