diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..184737d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM golang:1.3.1 +ADD . /go/src/github.com/thermokarst/bactdb +RUN go get -d -v github.com/thermokarst/bactdb/cmd/bactdb +RUN go install github.com/thermokarst/bactdb/cmd/bactdb +ENTRYPOINT /go/bin/bactdb serve +EXPOSE 8901 +