generated from geekiot/python-template
Add [docker]: add docker bot image file & compose file
This commit is contained in:
parent
8251aa21bd
commit
abf8c2c55a
2 changed files with 28 additions and 0 deletions
8
docker/docker-compose.yaml
Normal file
8
docker/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
services:
|
||||
bot:
|
||||
container_name: urfu-daddy-bot
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: ./docker/Dockerfile
|
||||
command: sh -c "uv run --active --script ./scripts/pybabel.py compile && uv run ./src/main.py"
|
||||
restart: always
|
||||
Loading…
Add table
Add a link
Reference in a new issue