10 lines
203 B
Docker
10 lines
203 B
Docker
|
FROM golang:1.11 as builder
|
||
|
WORKDIR /go/gomie
|
||
|
COPY . .
|
||
|
RUN make build
|
||
|
|
||
|
# Create a minimal container to run a Golang static binary
|
||
|
FROM scratch
|
||
|
COPY --from=builder /go/gomie/gomie .
|
||
|
ENTRYPOINT ["/gomie"]
|