A template project to create a Docker image for a Java application. The application exposes an HTTP endpoint.
The Docker build uses a multi-stage build setup to minimize the size of the generated Docker image.
Docker must be installed. That's it. You do not need a Java JDK or Maven installed.
Step: Create the Docker image according to Dockerfile. This step uses Maven to build, test, and package the Java application according to pom.xml. The resulting image is 87MB in size.