To run the bot using Docker, environment variables must be defined in a .env file following the .env.example provided in the repository.