Add docker-compose and lint main.py

This commit is contained in:
√(noham)²
2026-05-25 15:10:25 +02:00
parent 0c64b0200a
commit 502d770749
3 changed files with 109 additions and 56 deletions

View File

@@ -20,7 +20,23 @@ uv run python main.py
## Running with Docker
You can use the pre-built image directly from Docker Hub:
```bash
docker run -d -p 8080:8080 --name afp-rss nohamr/afp-rss:latest
```
### Using Docker Compose
A `docker-compose.yml` file is provided for convenience:
```bash
docker compose up -d
```
### Building the Image Yourself
```bash
docker build -t afp-rss .
docker run -d -p 8080:8080 --name afp-rss afp-rss
```
```