Dockerize your Apache with Custom index.html

$ vi index.htmlApache2 web application is running with version-1.0
# Base Image 
FROM httpd:2.4
# MAINTAINER of the Dockerfile
MAINTAINER Bikram <bikramatmedium@gmail.com>
#Copy the index.html file /usr/local/apache2/htdocs/
COPY index.html /usr/local/apache2/htdocs/
#Expose Apache Port
EXPOSE 80
$ docker build -t apache2-app .
$ docker run -d -p 8000:80 --name apache2-app apache2-app:latest

Cloud and DevOps Enthusiast