mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-15 03:36:33 +03:00
Fix docker build and specify bind interface for command
This commit is contained in:
parent
891f45c1ca
commit
4224b3d326
@ -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"]
|
||||
CMD ["pgweb", "--bind", "0.0.0.0"]
|
Loading…
Reference in New Issue
Block a user