Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. FROM node:10-alpine
  2.  
  3. WORKDIR /usr/src/app
  4. # Install app dependencies
  5. # A wildcard is used to ensure both package.json AND package-lock.json are copied
  6. # where available (npm@5+)
  7. COPY package*.json ./
  8.  
  9. RUN npm install
  10.  
  11. # Bundle app source
  12. COPY . .
  13.  
  14. EXPOSE 1337
  15.  
  16. CMD [ "node", "app.js" ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement