Sign inSign up

niceine/testapache

By niceine

•Updated almost 8 years ago

Test web page, based on Apache HTTP Server Project

Image
0

83

niceine/testapache repository overview

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

Tag summary

Content type

Image

Digest

Size

62.5 MB

Last updated

almost 8 years ago

docker pull niceine/testapache