Clone or fork this repo to use it as a base to create a dockerized Telegram bot, using Python as programming language.
bot.py
: your bot's codebaseDockerfile
: the file to build the bot image.docker-compose.yml
: used to start the bot.requirements.txt
: used to specify your dependencies.
- Clone or fork this repo.
- Write your bot in
bot.py
. - Write an
.env
file with yourTELEGRAM_TOKEN
in it and other env vars. - Run
docker-compose up -d
and wait for the build to finish.
That's it. Enjoy your dockerized bot. 🚀