Blog Archives

Containerizing Spring Boot Applications with Buildpacks

Step 3: I have added a simple controller to test the application once we run the docker container of our Spring Boot app. Below is the controller code. package org.smarttechie.controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class DemoController { @GetMapping public

Tagged with: , , , , ,
Posted in Containers, Java, Spring, Spring Boot


Java Code Geeks
Java Code Geeks