grim/wasdead

This adds checking if we already sent a status update for that given stream based on the channelid
FROM golang:1.12 AS build
COPY . /nowdead
WORKDIR /nowdead
RUN CGO_ENABLED=0 go build -ldflags '-w -extldflags "-static"'
FROM scratch
COPY --from=build /nowdead/nowdead /nowdead
CMD ["/nowdead"]