Guest User

Dockerfile NodeJS

a guest
Feb 4th, 2020
86
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FROM node:6-alpine
  2.  
  3. RUN mkdir /code
  4.  
  5. COPY ./*.js /code
  6.  
  7. RUN ls /code && npm install
  8.  
  9. EXPOSE 6113
  10.  
  11. CMD node /code/listen.js
RAW Paste Data