Added Docker instructions

This commit is contained in:
Casey 2024-02-06 12:19:35 +03:00
parent fb3e6989a3
commit 500b03894d
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 6 additions and 0 deletions

6
README
View File

@ -1,3 +1,9 @@
Running it: Running it:
TG_BOT_TOKEN=blahblahblah DB_PATH=/path/to/db.db3 python3 -m nfuck TG_BOT_TOKEN=blahblahblah DB_PATH=/path/to/db.db3 python3 -m nfuck
Database is not used yet Database is not used yet
Running in Docker:
docker build -t nfuck .
docker run --restart=unless-stopped --name bot-nfuck -e TG_BOT_TOKEN=123:blah -e DB_PATH=/app/db.db3 -d nfuck
You can also add `-e SILENT_REMOVAL_IDS=123,456` with a comma-separated list of chats where it should silently remove messages without notifying anyone