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