Use Maven Build first to create war file in Target folder.
mvn clean package
Artifact will be created in target folder.
docker build -t mavenbuild .
Once this is done u will be see image using docker image
Use below command to run the container
Use Maven Build first to create war file in Target folder.
mvn clean package
Artifact will be created in target folder.
docker build -t mavenbuild .
Once this is done u will be see image using docker image
Use below command to run the container