aboutsummaryrefslogtreecommitdiffstats
path: root/telebot/docker-entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-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" "$@"