aboutsummaryrefslogtreecommitdiffstats
path: root/telebot/docker-entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'telebot/docker-entrypoint.sh')
-rwxr-xr-xtelebot/docker-entrypoint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/telebot/docker-entrypoint.sh b/telebot/docker-entrypoint.sh
new file mode 100755
index 0000000..932c9c9
--- /dev/null
+++ b/telebot/docker-entrypoint.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env sh
+set -ex
+
+export $(cat /run/secrets/tg_bot_token)
+export $(cat /run/secrets/ch_api_key)
+export $(cat /run/secrets/ch_api_secret)
+
+"/hived/hived" "$@"