Adding basic dockerfile
This commit is contained in:
parent
6fe6d5d189
commit
8580c9b54e
1 changed files with 7 additions and 0 deletions
7
Dockerfile
Normal file
7
Dockerfile
Normal 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
|
||||||
|
|
Reference in a new issue