mobilefish

Untitled

Mar 30th, 2020
489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. # stage 1
  2.  
  3. FROM node:alpine AS webapp
  4. WORKDIR /app
  5. COPY . .
  6. RUN npm install && npm run build
  7.  
  8. # stage 2
  9.  
  10. FROM nginx:alpine
  11. COPY --from=webapp /app/dist/angular-starter/browser /usr/share/nginx/html
  12. EXPOSE 80
Add Comment
Please, Sign In to add comment