github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/template/web/README.md (about) 1 # Template Web 2 3 This is the Template service with fqdn go.micro.web.template. 4 5 ## Getting Started 6 7 ### Run Service 8 9 ``` 10 $ go run main.go 11 ``` 12 13 ### Building a container 14 15 If you would like to build the docker container do the following 16 ``` 17 CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' -o template-web ./main.go 18 docker build -t template-web . 19 20 ```