FROM golang:alpine AS builder ADD . /go RUN go build -o sleeper FROM alpine COPY --from=builder sleeper /sleeper CMD ["/sleeper"]