Skip to content

Latest commit

 

History

History

docker-node

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Docker Example (Node.js)

This example illustrates how to use Docker to run grammY bots written for Node.js.

  1. Create a bot with @BotFather, and get the bot token
  2. Rename .env.example to .env
mv .env.example .env
  1. Paste your bot token into the .env file
  2. Run a bot with:
docker compose up