Sign inSign up

bskaggs/httpd

By bskaggs

•Updated over 10 years ago

Image
0

968

bskaggs/httpd repository overview

Build repo is https://github.com/bskaggs/httpd-go-docker⁠

⁠build

To build, run sudo ./build.sh. This uses the offical golang container to build the static executable, and then package it as a docker.

⁠run

To run the container to serve the current directory on port 80, run:

sudo docker run -v $PWD:/srv/www -p 80:80 bskaggs/httpd

To use port 8080 instead, run:

sudo docker run -v $PWD:/srv/www -p 8080:80 bskaggs/httpd

Tag summary

Content type

Image

Digest

Size

2 MB

Last updated

over 10 years ago

docker pull bskaggs/httpd