From c9876c40703b6723f94eea5638a0779c0550b2d7 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 22 Feb 2021 00:44:09 +0330 Subject: the price end point works, the telegram bot is only echo though --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2848f6c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +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 build + +FROM alpine:3.13 +COPY --from=builder /hived/hived /hived/ +ENTRYPOINT ["/hived/hived"] -- cgit v1.2.3