diff options
author | terminaldweller <thabogre@gmail.com> | 2022-07-20 15:47:57 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-07-20 15:47:57 +0000 |
commit | fcc3ec7600305099715542ba5546f58a2fd8ec71 (patch) | |
tree | 402f75d0fc31dac7f3341e6a4792fd8a6c0f0e18 /telebot/Dockerfile | |
parent | skeleton (diff) | |
download | hived-fcc3ec7600305099715542ba5546f58a2fd8ec71.tar.gz hived-fcc3ec7600305099715542ba5546f58a2fd8ec71.zip |
added a coingecko endpoint
Diffstat (limited to '')
-rw-r--r-- | telebot/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/telebot/Dockerfile b/telebot/Dockerfile index d358ed7..a3cebf9 100644 --- a/telebot/Dockerfile +++ b/telebot/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.13 as builder +FROM alpine:3.16 as builder ENV GOPROXY=https://goproxy.io RUN apk update && apk upgrade RUN apk add go git @@ -8,13 +8,13 @@ RUN cd /telebot && go mod download COPY *.go /telebot/ RUN cd /telebot && go build -FROM alpine:3.15 as certbuilder +FROM alpine:3.16 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.13 +FROM alpine:3.16 COPY --from=certbuilder /certs /certs COPY --from=builder /telebot/telebot /telebot/ COPY ./docker-entrypoint.sh /telebot/ |