Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 613 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 613 Bytes

Telegram BOT dockerized

Este contenedor basado en la imagen python3.7-apine utiliza la librería pyTelegramBotAPI para programar un BOT en Telegram. Es necesario generar un nuevo bot con BotFather y obtener la API KEY.

Para programar el BOT, modifique el archivo bot.py en la carpeta app

Para usar:

Si se modifica Dockerfile cree la imagen de la siguiente manera:

$ docker build -t docker-telebot .

Crear un contendor

$ docker run --name telebot -e APIKEY="TUAPIKEY" -dit fkmurphy/python_telegram_bot