The dockerfile for this application is given here. And to deploy this on kubernetes you can have a look into other repository (Kube-spring-mongo) where you will find yml file for:
- Creating mongo db POD
- creating service for pod so that can be accessed from outside and can be used in other deployments or pods
- creating spring application deployment
- creating a service for deployment