From 746c6a327303722ea1c6bafba4dbff2556f1d680 Mon Sep 17 00:00:00 2001 From: Tanya Chaudhary <49437326+tanyabitaan97@users.noreply.github.com> Date: Fri, 31 Oct 2025 15:05:15 +0530 Subject: [PATCH 1/6] Create Dockerfile --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..555fa3167 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM hshar/webapp +WORKDIR /var/www/html +COPY . /var/www/html +EXPOSE 80 From b41f6bcf5141ef5bed821eebade0a8bee963afab Mon Sep 17 00:00:00 2001 From: Tanya Chaudhary <49437326+tanyabitaan97@users.noreply.github.com> Date: Fri, 31 Oct 2025 15:53:54 +0530 Subject: [PATCH 2/6] Update Dockerfile --- Dockerfile | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 555fa3167..dc217aa85 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,25 @@ -FROM hshar/webapp -WORKDIR /var/www/html -COPY . /var/www/html +# Use an official Apache base image +FROM ubuntu:20.04 + +# Prevent interactive prompts during package installation +ENV DEBIAN_FRONTEND=noninteractive + +# Update package list and install Apache +RUN apt-get update && \ + apt-get install -y apache2 && \ + apt-get clean + +# Create web directory (default for Apache on Ubuntu) +RUN mkdir -p /var/www/html + +# Copy website files (index.html, images, etc.) into /var/www/html +COPY . /var/www/html/ + +# Optional: suppress Apache ServerName warning +RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf + +# Expose port 80 for HTTP traffic EXPOSE 80 + +# Start Apache in the foreground (so container keeps running) +CMD ["apachectl", "-D", "FOREGROUND"] From ef13255484b20ce439c67353a895ac84a8a28cf8 Mon Sep 17 00:00:00 2001 From: Tanya Chaudhary <49437326+tanyabitaan97@users.noreply.github.com> Date: Fri, 31 Oct 2025 16:16:37 +0530 Subject: [PATCH 3/6] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 19c25caa0..1495c6dda 100644 --- a/index.html +++ b/index.html @@ -1,8 +1,9 @@ - Intellipaat + Intellipaat Learner Team

Hello world!

+ From c2a648914bd2b3339641032e25cf282eefe9f409 Mon Sep 17 00:00:00 2001 From: Tanya Chaudhary <49437326+tanyabitaan97@users.noreply.github.com> Date: Fri, 31 Oct 2025 16:22:05 +0530 Subject: [PATCH 4/6] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 1495c6dda..de20a587e 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,10 @@ - Intellipaat Learner Team + Intellipaat Learner Team - Learn the things

Hello world!

+ From 342523c46bad0c06518bcb4fa6af62f89454f0eb Mon Sep 17 00:00:00 2001 From: Tanya Chaudhary <49437326+tanyabitaan97@users.noreply.github.com> Date: Fri, 31 Oct 2025 16:25:28 +0530 Subject: [PATCH 5/6] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index de20a587e..9195e8823 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ - Intellipaat Learner Team - Learn the things + Intellipaat Learner Team - Learn the things by yourself

Hello world!

@@ -8,3 +8,4 @@

Hello world!

+ From 85e60fa4b5e42bfce98d9912bcb9fe6a2c3983cc Mon Sep 17 00:00:00 2001 From: Tanya Chaudhary <49437326+tanyabitaan97@users.noreply.github.com> Date: Fri, 31 Oct 2025 16:31:44 +0530 Subject: [PATCH 6/6] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 9195e8823..7e29acfe8 100644 --- a/index.html +++ b/index.html @@ -3,9 +3,10 @@ Intellipaat Learner Team - Learn the things by yourself -

Hello world!

+

Hello Intellipaat learners!!

+