go-docker icon indicating copy to clipboard operation
go-docker copied to clipboard

Sample code and dockerfiles accompanying the blog post The Ultimate Guide to Writing Dockerfiles for Go Web-apps

go-docker

A simple web app written in Go, with dockerfiles for development and production.

Build and run using any dockerfile:

$ docker build -f [dockerfile] -t go-docker .
$ docker run --rm -it -p 8080:8080 go-docker

See branch glide for glide based workflow instead of dep.