File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # LicenseChain Telegram Bot
1+ # LicenseChain Telegram Bot
22
33[ ![ License] ( https://img.shields.io/badge/license-ELASTIC2.0-blue.svg )] ( LICENSE )
44[ ![ Node.js] ( https://img.shields.io/badge/Node.js-16+-green.svg )] ( https://nodejs.org/ )
@@ -75,6 +75,25 @@ docker run -p 3005:3005 `
7575 licensechain-telegram-bot
7676```
7777
78+ #### Windows (CMD - Command Prompt)
79+
80+ ``` cmd
81+ REM Build the Docker image
82+ docker build -t licensechain-telegram-bot .
83+
84+ REM Run the container (default port is 3005) - Single line
85+ docker run -p 3005:3005 -e TELEGRAM_TOKEN=your_telegram_token -e LICENSE_CHAIN_API_KEY=your_api_key licensechain-telegram-bot
86+
87+ REM Or use custom port via environment variable
88+ docker run -p 8080:8080 -e PORT=8080 -e TELEGRAM_TOKEN=your_telegram_token -e LICENSE_CHAIN_API_KEY=your_api_key licensechain-telegram-bot
89+
90+ REM Alternative: Use caret (^) for line continuation in CMD
91+ docker run -p 3005:3005 ^
92+ -e TELEGRAM_TOKEN=your_telegram_token ^
93+ -e LICENSE_CHAIN_API_KEY=your_api_key ^
94+ licensechain-telegram-bot
95+ ```
96+
7897### Method 3: Manual Installation
7998
80991 . Download the latest release from [ GitHub Releases] ( https://github.com/LicenseChain/LicenseChain-TG-Bot/releases )
You can’t perform that action at this time.
0 commit comments