local-nginx-tutorial/eg3/backend/Dockerfile

5 lines
117 B
Docker

FROM node:10.15.3-alpine
WORKDIR /home/node/
RUN npm install express --save
COPY index.js .
CMD [ "node", "index.js"]