Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

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
Docker Pull Command
Owner
bskaggs