Added dockerfile

This commit is contained in:
2020-03-18 17:57:56 +00:00
parent 8879a32137
commit 2143dd7c76

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM golang:stretch AS builder
WORKDIR /go/src/app
COPY . .
RUN go get -d -v
RUN go build -o app .
FROM keybaseio/client:latest
WORKDIR /home/keybase
COPY --from=builder /go/src/app/app .
ENV KEYBASE_SERVICE=1
CMD ["./app"]