Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # base node image
- FROM node:10
- WORKDIR /usr/src/app
- ENV PORT 8080
- ENV HOST 0.0.0.0
- COPY package*.json ./
- RUN npm install --only=production
- # Copy local next code to the container
- COPY . .
- # Build production app
- RUN npm run build
- # Start the service
- CMD npm start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement