ateoto / basic-http

Basic HTTP server in Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

basic-http

Basic http fileserver in go.

Building

Meant to be a demo for statically compiling go apps for use within Docker.

make

Will create docker.moduscreate.com/basic-http

Running

$ docker run -d -p 8080:8080 -v $(pwd):/var/www/html
docker.moduscreate.com/basic-http

Will server whatever is in your current working directory on DOCKER_HOST:8080

About

Basic HTTP server in Go.

License:MIT License


Languages

Language:Go 51.9%Language:Makefile 48.1%