⚠️Update⚠️: If you are using Spring Boot 3.2 or above, use this Dockerfile:
🔗 Dockerfile for Spring Boot 3.2: https://github.com/Washingtonwei/hogw...
Otherwise, use this one:
🔗 Dockerfile: https://github.com/Washingtonwei/hogw...
Docker containers are commonly used during deployment. So, what is a container and why do we need that? In this video, I demonstrated building a Docker container image for our Spring Boot application.
⚠️Update⚠️: Spring Boot 3.2 updated the name of the launcher we used in the Dockerfile:
ENTRYPOINT ["java", "org.springframework.boot.loader.JarLauncher"]
⬇️
ENTRYPOINT ["java", "org.springframework.boot.loader.launch.JarLauncher"]
Keep watching. Here are more Spring Boot Packaging and Deployment videos:
42 Introduction to Spring Boot Packaging and Deployment 🔗 • [Episode 42] Introduction to Spring B...
43 Packaging a Spring Boot Application into an Executable JAR 🔗 • [Episode 43] Packaging a Spring Boot ...
44 Containerizing a Spring Boot Application 🔗 • [Episode 44] Containerizing a Spring ...
45 Introduction to CI and CD with GitHub Actions 🔗 • [Episode 45] Introduction to CI and C...
46 Spring Boot Continuous Integration with GitHub Actions 🔗 • [Episode 46] Spring Boot Continuous I...
47 Deploying Spring Boot Applications to Azure with GitHub Actions 🔗 • [Episode 47] Deploying Spring Boot Ap...
48 Setting Up Staging Environments in Azure App Service 🔗 • [Episode 48] Setting Up Staging Envir...
49 Connecting Spring Boot to a MySQL Database with Azure Key Vault 🔗 • [Episode 49] Connecting Spring Boot t...
This video belongs to a playlist "Learn Spring Boot 3 with Bingyang": • Learn Spring Boot 3 with Bingyang
I don't want to make a super long video so I split it into smaller ones. If you want to learn Spring Boot 3 systematically, please visit the playlist (and save the playlist) for more Spring Boot 3 tutorials.
Feel free to leave a comment if you have any questions.
As always, thanks for watching, and happy learning!