update README
This commit is contained in:
@@ -24,9 +24,6 @@ CHAT_IDS_WHITELIST=
|
||||
# Test environment mode
|
||||
TEST_ENVIRONMENT=false
|
||||
|
||||
# Docker deployment
|
||||
IS_DOCKER=false
|
||||
|
||||
# Only creator can use bot
|
||||
ONLY_FOR_CREATOR_MODE=false
|
||||
|
||||
|
||||
@@ -25,14 +25,12 @@ npm run build && npm start
|
||||
|
||||
**With Docker:**
|
||||
```bash
|
||||
# Set IS_DOCKER=true in .env
|
||||
docker build -f Dockerfile -t tg-bot .
|
||||
docker run -d --env-file .env -v $(pwd)/data:/config/data tg-bot
|
||||
```
|
||||
|
||||
**With Docker (Bun):**
|
||||
```bash
|
||||
# Set IS_DOCKER=true in .env
|
||||
docker build -f Dockerfile-bun -t tg-bot-bun .
|
||||
docker run -d --env-file .env -v $(pwd)/data:/config/data tg-bot-bun
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user