1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-03 00:53:12 +00:00
tux/docker-compose.yml
kzndotsh 7cda11c4bc feat: add Dockerfile and docker-compose.yml for containerization
chore: remove old infra files as they are replaced by Docker setup
refactor: switch from systemd service to Docker for better portability and easier setup
2024-06-11 05:18:25 +00:00

13 lines
285 B
YAML

version: '3.8'
services:
tux:
build: .
image: allthingslinux/tux:latest
container_name: tux
restart: unless-stopped
env_file:
- .env
volumes:
- .:/app
command: ["sh", "-c", "ls && poetry run prisma generate && poetry run python tux/main.py"]