FROM golang RUN go get \ github.com/gorilla/mux && \ mkdir /workdir WORKDIR /workdir COPY src /workdir/src COPY hosted /workdir/hosted RUN go build -o /workdir/metrics src/*.go ENTRYPOINT ["./metrics"]