Use godep in Dockerfile

This commit is contained in:
Dan Sosedoff 2014-11-05 18:53:41 -06:00
parent 6a269bcede
commit 4242387403

View File

@ -3,8 +3,10 @@ FROM golang:1.3
COPY . /go/src/pgweb
WORKDIR /go/src/pgweb
RUN touch Makefile
RUN make setup
RUN make dev
RUN go get github.com/tools/godep
RUN godep restore && \
godep go build && \
godep go install
ENTRYPOINT ["pgweb"]