Adding basic dockerfile

This commit is contained in:
Matthew Dillon 2014-10-23 18:50:43 -08:00
parent 6fe6d5d189
commit 8580c9b54e

7
Dockerfile Normal file
View file

@ -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