from golang:alpine3.14 WORKDIR /root/ COPY ./go.mod ./go.sum ./ RUN go mod download COPY ./lazytainer.go . RUN go build lazytainer.go FROM alpine:latest WORKDIR /root/ COPY --from=0 /root/lazytainer ./ CMD ["./lazytainer"]