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"]