Containerizing a Spring Boot application using Multistaged Build with Docker
Steps to run the application:
- Building an image with Docker:
docker buildx build -t <<<any tag you want>>> .- Run the image:
docker run -it -p 8080:8080 <<<tag you specified>>>Thats all !