Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM ubuntu
RUN apt update
RUN apt install apache2 -y
Add . /var/www/html/
ENTRYPOINT apachectl -D FOREGROUND
2 changes: 2 additions & 0 deletions Dockerfile 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FROM ubuntu/apache2
COPY . /var/www/html
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<title> Intellipaat </title>
</head>
<body style = "background-image:url('images/github3.jpg'); background-size: 100%">
<h2 ALIGN=CENTER>Hello world!</h2>
<h2 ALIGN=CENTER>Hello world from master!</h2>
</body>
</html>