github.com/oam-dev/kubevela@v1.9.11/docs/examples/testapp/Dockerfile (about)

     1  FROM mhart/alpine-node:12
     2  WORKDIR /app
     3  COPY package.json ./
     4  
     5  RUN npm install
     6  RUN npm ci --prod
     7  
     8  # Then we copy over the modules from above onto a `slim` image
     9  FROM mhart/alpine-node:slim-12
    10  
    11  WORKDIR /app
    12  COPY --from=0 /app .
    13  COPY . .
    14  CMD ["node", "server.js"]