aboutsummaryrefslogtreecommitdiffstats
path: root/telebot/docker-entrypoint.sh
diff options
context:
space:
mode:
authorFarzad Sadeghi <thabogre@gmail.com>2021-12-14 17:25:09 +0000
committerGitHub <noreply@github.com>2021-12-14 17:25:09 +0000
commit5290f1f5ef81e776ca59f08e7fbf58c02e647288 (patch)
treef07b88aab5f13975e327376f1e9e16f59cdf6144 /telebot/docker-entrypoint.sh
parentadded a codacy badge (diff)
parentfixed the ip and address for the grpc server (diff)
downloadhived-5290f1f5ef81e776ca59f08e7fbf58c02e647288.tar.gz
hived-5290f1f5ef81e776ca59f08e7fbf58c02e647288.zip
Merge pull request #4 from terminaldweller/grpc
Grpc
Diffstat (limited to 'telebot/docker-entrypoint.sh')
-rwxr-xr-xtelebot/docker-entrypoint.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/telebot/docker-entrypoint.sh b/telebot/docker-entrypoint.sh
new file mode 100755
index 0000000..c2a6d0a
--- /dev/null
+++ b/telebot/docker-entrypoint.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env sh
+set -ex
+
+export $(cat /run/secrets/tg_bot_token)
+
+"/telebot/telebot" "$@"