SHARE
TWEET

Untitled

a guest Sep 18th, 2019 1,077 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # base node image
  2. FROM node:10
  3.  
  4. WORKDIR /usr/src/app
  5.  
  6. ENV PORT 8080
  7. ENV HOST 0.0.0.0
  8.  
  9. COPY package*.json ./
  10.  
  11. RUN npm install --only=production
  12.  
  13. # Copy local next code to the container
  14. COPY . .
  15.  
  16. # Build production app
  17. RUN npm run build
  18.  
  19. # Start the service
  20. CMD npm start
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