aboutsummaryrefslogtreecommitdiffstats
path: root/telebot/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-05-28 20:50:12 +0000
committerterminaldweller <devi@terminaldweller.com>2024-05-28 20:50:12 +0000
commitf7eafff2e923ee096c8d59a34b3386f3860f4431 (patch)
treebc77a3ce12f3f23648b43224ee7dd05031ef5c81 /telebot/Dockerfile
parentadded new ticker endpoint that periodically sends crypto prices over telegram (diff)
downloadhived-f7eafff2e923ee096c8d59a34b3386f3860f4431.tar.gz
hived-f7eafff2e923ee096c8d59a34b3386f3860f4431.zip
added polygon as a new data source, updated for go 1.22
Diffstat (limited to '')
-rw-r--r--telebot/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/telebot/Dockerfile b/telebot/Dockerfile
index cdf2a83..5b573f1 100644
--- a/telebot/Dockerfile
+++ b/telebot/Dockerfile
@@ -1,4 +1,4 @@
-FROM alpine:3.18 as builder
+FROM golang:1.22-alpine3.19 as builder
RUN apk update && apk upgrade
RUN apk add go git
COPY go.* /telebot/
@@ -6,13 +6,13 @@ RUN cd /telebot && go mod download
COPY *.go /telebot/
RUN cd /telebot && go build
-FROM alpine:3.18 as certbuilder
+FROM alpine:3.19 as certbuilder
RUN apk add openssl
WORKDIR /certs
RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=localhost" -keyout server.key -out server.cert
# FROM gcr.io/distroless/static-debian10
-FROM alpine:3.18
+FROM alpine:3.19
COPY --from=certbuilder /certs /certs
COPY --from=builder /telebot/telebot /telebot/
COPY ./docker-entrypoint.sh /telebot/