local-nginx-tutorial/eg3/backend/Dockerfile

5 lines
117 B
Docker
Raw Normal View History

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