I wrote a simple bot, to send results from main script
bot = telebot.TeleBot("API")
cost_sum = str(data2['cost'].sum())
date = last_date.strftime('%Y-%m-%d')
result = 'Capterra costs export done \n' + date + ' - ' + cost_sum
bot.send_message(chat_id, result)
And when i run it in Jupyter notebook or in Anaconda CMD i get message. But when i try to run it via dockerfile or in regular python i don't get any message, and any errors. Maybe i need to install some extra packages in dockerfile and regular python, but can't understand which exactly.