Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM node
- RUN npm install -g @angular/cli
- RUN mkdir /home/app/
- COPY e2e/ /home/app/e2e/
- COPY .angular-cli.json README.md protractor.conf.js karma.conf.js package.json tsconfig.json /home/app/
- COPY src/ /home/app/src
- WORKDIR /home/app/
- RUN npm install
- RUN npm run build
- RUN ng build
- FROM nginx
- COPY --from=0 /home/app/dist/ /usr/share/nginx/html/
- EXPOSE 80
- CMD ["nginx", "-g", "daemon off;"]
Add Comment
Please, Sign In to add comment