FROM repository.anxinyun.cn/base-images/nodejs12:20.10.12.2 COPY ./scripts/1.4.0/data/1_calc_village_distance /var/app WORKDIR /var/app RUN npm cache clean -f RUN rm -rf package-lock.json RUN npm install --registry https://nexus.ngaiot.com/repository/fs-npm/ CMD ["node", "index.js"]