Advertisement
Shell_Casing

Dockerfile

Aug 21st, 2019
576
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. # Stage 1
  2. FROM node:latest as node
  3. WORKDIR /app
  4. COPY . .
  5. RUN npm install
  6. RUN npm run build --prod
  7.  
  8. # Stage 2
  9. FROM nginx:alpine
  10. COPY --from=node /app/dist/News-App /usr/share/nginx/html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement