A simple hello world with spring boot to use with demo's.
Exposes Hello World on 8080.
docker-compose build
docker-compose up -d
docker run -p 8080:8080 praqma/hello-world:spring-boot-1.0.0
When making changes and you want to update the version. Just bump HELLOWORLD_VERSION
in the .env
file.
When you do docker-compose build
it will pick up the version, pass it to maven for the build and tag the image appropriately.