This is an example Java application that uses Spring and Tomcat to run. It is compiled using Codefresh.
To compile and package using Docker
docker build . -t my-app
docker run -p 8080:8080 my-app
Then enter http://localhost:8080/wizard/ on your browser
To compile and package using Docker compose
docker-compose up
This will launch two containers, one of the applications and one for the unit tests. All unit tests will run automatically.
There is also a codefresh.yml for easy usage with the Codefresh CI/CD platform.
More details can be found in Codefresh documentation