diff options
author | terminaldweller <thabogre@gmail.com> | 2023-02-28 20:40:22 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2023-02-28 20:40:22 +0000 |
commit | deccc46d93793098204cdc1405d9aac4bc9e80ae (patch) | |
tree | f219c40eaa8ce6f2b9f0fc3850220899ee3c6e87 /telebot/Dockerfile | |
parent | golang lint fixes (diff) | |
download | hived-deccc46d93793098204cdc1405d9aac4bc9e80ae.tar.gz hived-deccc46d93793098204cdc1405d9aac4bc9e80ae.zip |
golang lint fixes
Diffstat (limited to 'telebot/Dockerfile')
-rw-r--r-- | telebot/Dockerfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/telebot/Dockerfile b/telebot/Dockerfile index a3cebf9..e123c95 100644 --- a/telebot/Dockerfile +++ b/telebot/Dockerfile @@ -1,5 +1,7 @@ FROM alpine:3.16 as builder ENV GOPROXY=https://goproxy.io +ENV ALL_PROXY=socks5://192.168.1.214:9995 +ENV HTTPS_PROXY=socks5://192.168.1.214:9995 RUN apk update && apk upgrade RUN apk add go git ENV GOPROXY=https://goproxy.io @@ -18,4 +20,6 @@ FROM alpine:3.16 COPY --from=certbuilder /certs /certs COPY --from=builder /telebot/telebot /telebot/ COPY ./docker-entrypoint.sh /telebot/ +ENV ALL_PROXY= +ENV HTTPS_PROXY= ENTRYPOINT ["/telebot/docker-entrypoint.sh"] |