residentsleeper/Dockerfile

11 lines
134 B
Docker
Raw Normal View History

FROM golang:alpine AS builder
2020-07-10 01:06:38 +00:00
ADD . /go
RUN go build -o sleeper
FROM alpine
COPY --from=builder sleeper /sleeper
CMD ["/sleeper"]