From bd75c02f348131d6e0d8fd15b4420a75886366c8 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Mon, 25 Jul 2022 08:46:19 +0000 Subject: [PATCH] Updated Dockerfiel and Created index.html file --- Dockerfile | 7 ++++++- index.html | 6 ++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 index.html diff --git a/Dockerfile b/Dockerfile index b8176b5..0fec74d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,7 @@ -FROM tomcat +FROM tomcat:8.0.20-jre8 +RUN mkdir -p /usr/local/tomcat/webapps/ROOT + +ENV PROJECT_HOME /usr/local/tomcat/webapps/ROOT + +COPY index.html $PROJECT_HOME/ diff --git a/index.html b/index.html new file mode 100755 index 0000000..7689e17 --- /dev/null +++ b/index.html @@ -0,0 +1,6 @@ + + + + Hello World + +