SHARE
TWEET

Untitled

a guest Oct 14th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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" ]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top