FROM node:16.20.0
WORKDIR /home/hro-company-node
COPY package.json ./package.json
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk add git
RUN npm config set registry https://registry.npm.taobao.org && npm install