niceine/testapache

By niceine

Updated about 6 years ago

Test web page, based on Apache HTTP Server Project

Image
0

22

Requirements:

docker pull httpd

Dockerfile: FROM httpd

File Author / Maintainer

MAINTAINER your_name

Update the repository sources list

RUN apt-get update && apt-get -y dist-upgrade && apt-get -y autoremove && apt-get clean

COPY index.html /usr/local/apache2/htdocs

EXPOSE 80 CMD apachectl -D FOREGROUND

index.html: It is a brave new world HELLO!

rebuild: (script) docker stop testapache docker rm testapache docker rmi testapache docker build -t testapache . docker run -d -p80:80 --name testapache testapache

Docker Pull Command

docker pull niceine/testapache