1 FROM node: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
15 COPY --from=builder /usr/builder/node_modules ./node_modules
16 COPY NOTICE LICENSE ./
19 COPY docker/config.json ./dist/assets/config.json
20 COPY docker/autoconfig.sh /autoconfig.sh
21 RUN chmod +x /autoconfig.sh
23 #CMD ["node", "dist/start.js"]
24 CMD /autoconfig.sh && node -r source-map-support/register dist/start.js