Initial import
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
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"]
|
Reference in New Issue
Block a user