The purpose of this image is to be a base for Spring-Boot apps that are deployable to any system capable of hosting Docker. You can work with this project just as you would any other Spring Boot application.
- Run tests with
mvn test
- Run maven commands
- Create deployments and publish to Nexus
docker build -t <image_name> .
docker run -p 8080:8080 -t <image_id>
- Access app at
localhost:8080
- On build, it places src dir and pom file in the docker image, and runs
mvn clean install
- On starting the image, the contained Spring-Boot app starts and binds to 8080.