add docker containerization

This commit is contained in:
hex
2025-01-18 18:03:17 -08:00
parent d257759d6f
commit f7deb83cb5
3 changed files with 94 additions and 0 deletions

16
docker-compose.yml Normal file
View File

@@ -0,0 +1,16 @@
services:
web:
build: .
ports:
- "5000:5000"
volumes:
- ./instance:/app/instance
env_file:
- .env
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s