A spring boot enabled hello world application
-
Directly using maven
mvn spring-boot:run
-
Using executable jar file
mvn clean package
java -jar target/helloworld-1.0-SNAPSHOT.jar
Dockerfile will build self-running container after a maven install is run
- run
mvn package
- builds, tests and packages - run
docker build
for the releasable docker container - push docker container to Nexus
- create Beanstalk env
- deploy docker container into Beanstalk