Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 871 Bytes

README.md

File metadata and controls

34 lines (19 loc) · 871 Bytes

Docker Homework

This is a simple implementation for a Docker assignment.

Created using the Spring framework

🔭 Objective:

  • Build the project via Dockerfile

  • Push the project to dockerhub using multiple tags

👀 My Project:

  • 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)


For build in docker

  1. Docker build:

docker build . -t [imageName]

  1. Run docker image with port 8080:

docker run -p 8080:8080 -t [imageName]