From c2b3c437772df57162385555933aac440308b31c Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Tue, 23 Feb 2021 13:31:14 +0330 Subject: removed the expression parser. using a lib now. the addalert endpoint is working. alert messages about fullfilment in tg now. using redis as db to keep the alerts in. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 2848f6c..1a37fa9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ FROM alpine:3.13 as builder RUN apk update && apk upgrade RUN apk add go git -RUN go get -u github.com/go-telegram-bot-api/telegram-bot-api +COPY ./go.* /hived/ +RUN cd /hived && go mod download COPY *.go /hived/ RUN cd /hived && go build -- cgit v1.2.3