Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 770 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 770 Bytes

Application CounterWebapp

We can use the Docker to deploy the application

The repository considts of the Dockerfile which contains commands to build the image and deploy the docker container.

Steps:

  1. docker pull ubuntu:18.04
  2. docker build . -t app
  3. docker run -itd -p 80:8080 app
  4. Visit the browser where the appliocation is running at port 80
PublicIP:8080/CounterWebApp/

We can deploy the applcation with maven with the machine


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/