pgweb/Dockerfile

11 lines
230 B
Docker

FROM golang:1.4.2
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", "--bind", "0.0.0.0"]