aboutsummaryrefslogtreecommitdiffstats
path: root/telebot/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'telebot/Dockerfile')
-rw-r--r--telebot/Dockerfile4
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"]