This is a simple implementation for a Docker assignment.
Created using the Spring framework
-
Build the project via Dockerfile
-
Push the project to dockerhub using multiple tags
-
Receives current news headlines of the designated country (source => thenewsapi.com)
-
Shows the current Weather forecast (source => weatherapi-com)
-
Shows a random joke (source => dad-jokes.p.rapidapi.com)
-
And suggests a random activity for the bored (source => www.boredapi.com)
- Docker build:
docker build . -t [imageName]
- Run docker image with port 8080:
docker run -p 8080:8080 -t [imageName]