FROM golang:1.12-stretch

WORKDIR /app

COPY go.mod go.sum ./

RUN go mod vendor

COPY . .

RUN make build

CMD /app/bin/marionette
