mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-05 10:20:53 +02:00
6 lines
188 B
Docker
6 lines
188 B
Docker
# Build binary with the following command
|
|
# CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' -o server ./main.go
|
|
FROM alpine:3.2
|
|
ADD server /
|
|
ENTRYPOINT [ "/server" ]
|