github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/server/Dockerfile (about)

     1  # Build binary with the following command
     2  # CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' -o server ./main.go
     3  FROM alpine:3.2
     4  ADD server /
     5  ENTRYPOINT [ "/server" ]