FROM alpine COPY gather-media.sh /bin/gather-media #FROM golang:latest as BUILD #WORKDIR /gather-media #COPY go.mod ./ ## COPY go.sum ./ #RUN go mod download #COPY *.go ./ #RUN go build -o /bin/gather-media