Skip to content

Commit a2316b4

Browse files
committed
docs: Add CMD (Command Prompt) examples to Docker commands
1 parent c490215 commit a2316b4

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

8099
1. Download the latest release from [GitHub Releases](https://github.com/LicenseChain/LicenseChain-TG-Bot/releases)

0 commit comments

Comments
 (0)