1 FROM node:lts-alpine as builder
5 COPY package.json package-lock.json ./
7 RUN npm set progress=false && npm config set depth 0 && npm cache clean --force
14 COPY --from=builder /usr/builder/node_modules ./node_modules
15 COPY NOTICE LICENSE ./
18 COPY docker/config.json ./src/config.json
19 COPY docker/autoconfig.sh /autoconfig.sh
20 RUN chmod +x /autoconfig.sh
22 #CMD ["node", "src/index.js"]
23 CMD /autoconfig.sh && node src/index.js