Use Docker to build & deploy an Angular app! Includes how to combine Angular + Spring Boot into a JAR, dockerize it, and deploy to Knative + Cloud Foundry.

Table of contents:

  • 00:00 Angular + Docker Demo Steps
  • 01:47 Create an Angular + Spring Boot App
  • 06:24 Create a Docker Container for Your Angular App
  • 08:46 Deploy Spring Boot to Heroku
  • 13:46 Deploy Angular + Docker to Heroku
  • 17:22 A-Rated Security Headers for Nginx in Docker
  • 18:24 Combine Your Angular + Spring Boot App into a Single JAR
  • 18:52 Update Your Angular App’s Authentication Mechanism
  • 23:26 Configure Spring Boot to Include Your Angular SPA
  • 26:15 Modify Gradle to Build a JAR with Angular Included
  • 30:29 Dockerize Angular + Spring Boot with Jib
  • 32:01 Run Your Spring Boot Docker App with Docker Compose
  • 34:10 Deploy Your Spring Boot + Angular Container to Docker Hub
  • 35:10 Heroku 💜 Spring Boot + Docker
  • 40:34 Knative 💙 Spring Boot + Docker
  • 45:36 Cloud Foundry 💚 Spring Boot + Docker
  • 49:12 Use Cloud Native Buildpacks to Build Docker Images
  • 49:49 Easy Docker Images with Spring Boot 2.3
  • 51:47 Containers FTW!

Blog post: https://developer.okta.com/blog/2020/06/17/angular-docker-spring-boot
GitHub repo: https://github.com/oktadeveloper/okta-angular-spring-boot-docker-example
Demo script: https://github.com/oktadeveloper/okta-angular-spring-boot-docker-example/blob/main/demo.adoc

#angular #docker #spring-boot #developer

Angular + Docker with a Big Hug from Spring Boot
11.20 GEEK