adjust gopath in Dockerfile

This commit is contained in:
louis
2016-04-05 22:07:39 +02:00
parent f9035d0814
commit ca5a6a74dc

View File

@ -3,7 +3,7 @@ FROM alpine:latest
EXPOSE 9117
ENV GOPATH /go
ENV APPPATH $GOPATH/src/stash.lvint.de/it/nsq_exporter
ENV APPPATH $GOPATH/src/github.com/lovoo/nsq_exporter
COPY . $APPPATH
RUN apk add --update -t build-deps go git mercurial libc-dev gcc libgcc \
&& cd $APPPATH && go get -d && go build -o /nsq_exporter \