feature: Containers

This commit is contained in:
2026-01-21 12:06:04 +01:00
parent b68fa2614e
commit 7503356711
2 changed files with 36 additions and 0 deletions

14
docker-compose.yml Normal file
View File

@@ -0,0 +1,14 @@
version: '3.8'
services:
people-counter:
build: .
ports:
- "5000:5000"
devices:
- "/dev/video0:/dev/video0"
restart: unless-stopped
# Privileged mode helps with accessing hardware devices if standard mapping fails
privileged: true
environment:
- FLASK_ENV=production