aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-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