== Dockerise the Application == | |
We use Gradle and Dockerizor to build the application. | |
Instead of running the sample within the Eclipse IDE you can build a https://www.docker.com/[Docker] image: | |
[source,sh] | |
---- | |
$ ./gradlew dockerize | |
---- | |
and run the application with: | |
[source,sh,subs="attributes"] | |
---- | |
$ docker run --rm -it --name {guide-short-name} --publish 8080:8080 virgo-recipe/{guide-short-name}-app | |
---- |