adds dockerfile

This commit is contained in:
dougbtv 2019-04-12 16:06:38 -04:00
parent a07ae520c2
commit bf1ed78834

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM golang:1.11
ADD . /usr/src/whereabouts
RUN mkdir -p $GOPATH/src/github.com/dougbtv/whereabouts
WORKDIR $GOPATH/src/github.com/dougbtv/whereabouts
COPY . .
RUN ./hack/build-go.sh
FROM alpine:latest
COPY --from=0 /go/src/github.com/dougbtv/whereabouts/bin/whereabouts .