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…