Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hii #5

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM tomcat:8.0.20-jre8
# Dummy text to test
COPY target/myweb*.war /usr/local/tomcat/webapps/myweb.war
# More detailed docker instructions could be possible in prod
FROM tomcat:8-jre11

RUN rm -rf /usr/local/tomcat/webapps/*

COPY target/*.war /usr/local/tomcat/webapps/ROOT.war

EXPOSE 8080
CMD ["catalina.sh", "run"]
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>in.javahome</groupId>
<artifactId>myweb</artifactId>
<packaging>war</packaging>
<version>8.3.2</version>
<version>8.3.2-SNAPSHOT</version>
<name>Java Home myweb</name>
<url>http://maven.apache.org</url>

Expand Down
5 changes: 4 additions & 1 deletion src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<html>
<body>
<h1>WELCOME TO SWIGGY APPLICATION THIS IS DEPLOYED BY RAHAM<h1>

<h1>THIS IS MY NEW SWIGGY APP VERSION 2.0</h1>


</body>
</html>