mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-15 20:13:06 +03:00
12 lines
240 B
Docker
12 lines
240 B
Docker
FROM golang:1.5
|
|
|
|
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
|
|
|
|
EXPOSE 8081
|
|
CMD ["pgweb", "--bind", "0.0.0.0"] |