Go to file
Aleksei Krugliak b7e13e2bfe update README 2024-01-13 14:14:01 -03:00
source refactor for new aiogram 2024-01-13 13:41:40 -03:00
.gitignore refactor for new aiogram 2024-01-13 13:41:40 -03:00
Dockerfile fix Dockerfile 2024-01-13 14:04:41 -03:00
README.md update README 2024-01-13 14:14:01 -03:00
requirements.txt refactor for new aiogram 2024-01-13 13:41:40 -03:00
run.sh add stop&remove stopped container before start 2022-07-10 20:43:42 +03:00

README.md

expense-bot

Build Image

docker build -t expense-bot:latest .

[WIP] Push Image to registry

$ podman login quay.io
$ podman push [hash]|[localhost/expense-bot:0.1.0] docker://quay.io/ksemele/expense-bot:0.1.0

Run bot

local

python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt

container

Ensure you have an .env file with followed content:

ADMINS=12345678,12345677,12345676
BOT_TOKEN=0000000000:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
HOST_IP=localhost

Then run

docker run --name expense-bot --env-file .env expense-bot:latest