residentsleeper/Dockerfile

11 lines
134 B
Docker

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