aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-02-23 10:01:14 +0000
committerterminaldweller <thabogre@gmail.com>2021-02-23 10:01:14 +0000
commitc2b3c437772df57162385555933aac440308b31c (patch)
treeee0160dad06e1cf4e331d88836e1aae8be05721d /Dockerfile
parentforgot to add the parser... (diff)
downloadhived-c2b3c437772df57162385555933aac440308b31c.tar.gz
hived-c2b3c437772df57162385555933aac440308b31c.zip
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.
Diffstat (limited to '')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
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