from golang:1.15.0 RUN mkdir /wsjtx_exporter ADD . /wsjtx_exporter WORKDIR /wsjtx_exporter/cmd/wsjtx_exporter RUN go build CMD ["/wsjtx_exporter/cmd/wsjtx_exporter/wsjtx_exporter"]