diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-03-31 14:40:49 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-03-31 14:40:49 +0000 |
commit | 911bda1b171a6a25cdb09b839b035e195e95ed41 (patch) | |
tree | 6c902d24fcc844e2d0b8907c5dbd09a8b7e66914 /telebot/Dockerfile | |
parent | added new ticker endpoint that periodically sends crypto prices over telegram (diff) | |
download | hived-911bda1b171a6a25cdb09b839b035e195e95ed41.tar.gz hived-911bda1b171a6a25cdb09b839b035e195e95ed41.zip |
changed redis to keydbtmp
Diffstat (limited to 'telebot/Dockerfile')
-rw-r--r-- | telebot/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/telebot/Dockerfile b/telebot/Dockerfile index cdf2a83..c8522de 100644 --- a/telebot/Dockerfile +++ b/telebot/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.18 as builder +FROM alpine:3.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/ |