micro/examples/server/Dockerfile

6 lines
188 B
Docker
Raw Normal View History

2016-10-08 10:26:11 +01:00
# 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
2015-05-25 18:16:42 +01:00
ADD server /
ENTRYPOINT [ "/server" ]