Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shahidhk/go-docker
Sample code and dockerfiles accompanying the blog post The Ultimate Guide to Writing Dockerfiles for Go Web-apps
https://github.com/shahidhk/go-docker
alpine dep docker dockerfile gin glide go golang live-reload multistage scratch upx
Last synced: 3 months ago
JSON representation
Sample code and dockerfiles accompanying the blog post The Ultimate Guide to Writing Dockerfiles for Go Web-apps
- Host: GitHub
- URL: https://github.com/shahidhk/go-docker
- Owner: shahidhk
- License: mit
- Created: 2018-02-04T15:37:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-23T18:06:44.000Z (almost 7 years ago)
- Last Synced: 2024-10-06T18:17:17.368Z (4 months ago)
- Topics: alpine, dep, docker, dockerfile, gin, glide, go, golang, live-reload, multistage, scratch, upx
- Language: Go
- Homepage: https://hasura.io/blog/the-ultimate-guide-to-writing-dockerfiles-for-go-web-apps-336efad7012c/
- Size: 10.7 KB
- Stars: 90
- Watchers: 6
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-docker
A simple web app written in Go, with dockerfiles for development and production.
Build and run using any dockerfile:
```bash
$ docker build -f [dockerfile] -t go-docker .
$ docker run --rm -it -p 8080:8080 go-docker
```See branch [glide](https://github.com/shahidhk/go-docker/tree/glide) for glide based workflow instead of dep.