Files
kubevela/docs/examples/testapp/Dockerfile
guoxudong 025ce5d74d move website & keep design md (#551)
* move website & keep design md

* fix

* update README

* fix

* fix

* rename

* fix
2020-11-10 20:09:13 +08:00

15 lines
260 B
Docker

FROM mhart/alpine-node:12
WORKDIR /app
COPY package.json ./
RUN npm install
RUN npm ci --prod
# Then we copy over the modules from above onto a `slim` image
FROM mhart/alpine-node:slim-12
WORKDIR /app
COPY --from=0 /app .
COPY . .
CMD ["node", "server.js"]