FROM golang:1.7 ADD . /go/src/github.com/nsheridan/cashier RUN go install github.com/nsheridan/cashier/cmd/cashierd ONBUILD COPY . /cashier WORKDIR /cashier ENTRYPOINT /go/bin/cashierd