diff --git a/Dockerfile b/Dockerfile index 4cf27ab..74734f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +CMD ["pgweb", "--bind", "0.0.0.0"] \ No newline at end of file