mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-24 08:02:32 +02:00
update dockerfile
This commit is contained in:
parent
cfbcf2efbe
commit
32bf930ea1
@ -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 /
|
||||
ENTRYPOINT [ "/server" ]
|
||||
|
Loading…
Reference in New Issue
Block a user