The repository considts of the Dockerfile which contains commands to build the image and deploy the docker container.
Steps:
- docker pull ubuntu:18.04
- docker build . -t app
- docker run -itd -p 80:8080 app
- Visit the browser where the appliocation is running at port 80
maven commands : mvn clean install tomcat7:run
This command will create an artifact and also deploy with tomcat,
The pom.xml contains the tomcat plugins which is configured to port 9090.
PublicIP:9090/CounterWebApp/