Maven is a Java-based build tool used to generate executable packages (jar, ear,war) for java based projects.
mvn clean package
Docker is a containerization tool. Using Docker, we can deploy our applications as containers using Docker images. Containers contain application code as well as the necessary software and configuration files required for our application to run.
Create docker image using Dockerfile
docker build -t daleyhub/advanced-spring-app .
docker-compose up -d
docker ps -a
=======