From 500b03894d3c0a85fbba6ea5a6d539d8f9b1fe82 Mon Sep 17 00:00:00 2001 From: hkc Date: Tue, 6 Feb 2024 12:19:35 +0300 Subject: [PATCH] Added Docker instructions --- README | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README b/README index 85cfc34..1dcaf00 100644 --- a/README +++ b/README @@ -1,3 +1,9 @@ Running it: TG_BOT_TOKEN=blahblahblah DB_PATH=/path/to/db.db3 python3 -m nfuck 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