build(docker): add integration tests, Dockerfile, and docker-compose for packaging

This commit is contained in:
m3tm3re
2026-02-04 20:20:39 +01:00
parent 867b47efd0
commit 1a01b46ed6
6 changed files with 506 additions and 3 deletions

20
docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
version: '3.8'
services:
zugferd-service:
build:
context: .
dockerfile: Dockerfile
ports:
- "5000:5000"
volumes:
- ./src:/app/src:ro
environment:
- LOG_LEVEL=INFO
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
restart: unless-stopped