<filename>Dockerfile
FROM golang:1.15-alpine

ADD . /code

RUN set -x \
    && ( \
        cd /code \
        && CGO_ENABLED=0 go build -o telegram-notify . \
    )


FROM alpine:latest
LABEL maintainer "<NAME> <<EMAIL>>"

COPY --from=0 /code/telegram-notify /usr/local/bin/telegram-notify

ENTRYPOINT ["/usr/local/bin/telegram-notify"]
