From 4224b3d326213a424148de0569b1fb939e2829b2 Mon Sep 17 00:00:00 2001 From: Dan Sosedoff Date: Thu, 30 Apr 2015 20:22:08 -0500 Subject: [PATCH] Fix docker build and specify bind interface for command --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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