update dockerfile

This commit is contained in:
Asim 2016-10-08 10:26:11 +01:00
parent cfbcf2efbe
commit 32bf930ea1

View File

@ -1,3 +1,5 @@
FROM scratch # 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 / ADD server /
ENTRYPOINT [ "/server" ] ENTRYPOINT [ "/server" ]