Public Repository

Last pushed: a year ago
Short Description
Spring Boot simple application running inside a Docker container
Full Description

Application in Spring Boot with one REST endpoint:

GET /hello/{name}

will return:

{"msg": "Hello 'name'"}, where 'name' is the path variable passed in the URL

This example uses Spotify's Maven plugin for Docker. It is very useful, because you can build artifact and Docker image all with one single command. Do mvn package to buld, not docker build. Maven will be not installed in docker image and it is not possible to generate the JAR file.

Exposed port: 9123

To see the source code, go to https://github.com/fernando-bernardino/fbernardino-build-test

Docker Pull Command
Owner
fbernardino

Comments (0)