1 2 3 4 5 6 7 8 9 10 11
FROM node:latest WORKDIR /usr/src/app/ COPY package.json ./ RUN npm install --silent --no-cache --registry=https://registry.npm.taobao.org COPY ./ ./ CMD ["npm", "run", "start"]