FROM golang:latest WORKDIR /home COPY *.go /home/ RUN ["go", "get", "github.com/gorilla/mux"] RUN ["go", "build", "-o", "metrics-bundler"] EXPOSE 8080 ENTRYPOINT ["./metrics-bundler"]