aboutsummaryrefslogtreecommitdiffstats
path: root/telebot/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-06-06 01:42:03 +0000
committerterminaldweller <devi@terminaldweller.com>2024-06-06 01:42:03 +0000
commit8784899e25b362c570cb65f671f11e3bfa9685fc (patch)
tree3f52241c179735a61d5b0eacaebf9bf8c22241ea /telebot/Dockerfile
parentWIP (diff)
downloadhived-arbitrage.tar.gz
hived-arbitrage.zip
cleaned up the code, removed extranneous microservices. hived is a monolith again. using pocketbase for AAA.arbitrage
Diffstat (limited to '')
-rw-r--r--telebot/Dockerfile21
1 files changed, 0 insertions, 21 deletions
diff --git a/telebot/Dockerfile b/telebot/Dockerfile
deleted file mode 100644
index 5b573f1..0000000
--- a/telebot/Dockerfile
+++ /dev/null
@@ -1,21 +0,0 @@
-FROM golang:1.22-alpine3.19 as builder
-RUN apk update && apk upgrade
-RUN apk add go git
-COPY go.* /telebot/
-RUN cd /telebot && go mod download
-COPY *.go /telebot/
-RUN cd /telebot && go build
-
-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.19
-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"]