Fix docker build and specify bind interface for command

This commit is contained in:
Dan Sosedoff 2015-04-30 20:22:08 -05:00
parent 891f45c1ca
commit 4224b3d326

View File

@ -1,10 +1,11 @@
FROM golang:1.4.2
COPY . /go/src/pgweb
WORKDIR /go/src/pgweb
COPY . /go/src/github.com/sosedoff/pgweb
WORKDIR /go/src/github.com/sosedoff/pgweb
RUN go get github.com/tools/godep
RUN godep restore
RUN godep go build && godep go install
CMD ["pgweb"]
CMD ["pgweb", "--bind", "0.0.0.0"]