pgweb/Dockerfile

11 lines
230 B
Docker
Raw Normal View History

2015-03-16 23:51:24 -05:00
FROM golang:1.4.2
2014-10-28 19:02:27 +11:00
COPY . /go/src/github.com/sosedoff/pgweb
WORKDIR /go/src/github.com/sosedoff/pgweb
2014-10-28 19:02:27 +11:00
2014-11-05 18:53:41 -06:00
RUN go get github.com/tools/godep
RUN godep restore
RUN godep go build && godep go install
2014-10-28 19:02:27 +11:00
CMD ["pgweb", "--bind", "0.0.0.0"]