diff --git a/Dockerfile b/Dockerfile index e0bc2f55..411d587b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Pull base image -From tomcat:8-jre8 +From tomcat:latest # Maintainer MAINTAINER "valaxytech@gmail.com" -COPY ./webapp.war /usr/local/tomcat/webapps -RUN cp -R /usr/local/tomcat/webapps.dist/* /usr/local/tomcat/webapps +COPY ./webapp/target/*.war /usr/local/tomcat/webapps/ +CMD ["catalina.sh","run"] diff --git a/pom.xml b/pom.xml index eccd2068..bbf00735 100644 --- a/pom.xml +++ b/pom.xml @@ -34,8 +34,8 @@ maven-compiler-plugin - 1.6 - 1.6 + 1.8 + 1.8 diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp index 846b5e3b..c3045924 100644 --- a/webapp/src/main/webapp/index.jsp +++ b/webapp/src/main/webapp/index.jsp @@ -1,7 +1,4 @@ -

Hello Dear Students !!, Welcome to DevOps Project-2 !!

-

By Mr.Hari from Saidemy

-

It's time to start the DevOps Project-2!! Get ready!!!

-

This is what complete End-to-End CI-CD Pipeline DevOps Project !!

-

We are done with DevOps Project-2

+

HellO INVIZ !!, Welcome to Demo !!

+

By J.SAI REVANTH KUMAR

We are done with Docker Deployment!!

-

Thanks for watching DevOps-2 project !!

+

Thanks for watching Demo!!