This commit is contained in:
2025-10-20 12:50:03 +02:00
commit 561a91d023
13 changed files with 396 additions and 0 deletions

17
docker-compose.yml Normal file
View File

@@ -0,0 +1,17 @@
version: "3.8"
services:
web:
build: .
ports:
- "8050:5000"
environment:
- FLASK_ENV=development
- SERPAPI_KEY=${SERPAPI_KEY:-}
volumes:
- .:/app
healthcheck:
test: ["CMD-SHELL", "pytest -q tests/test_scraper.py::test_get_google_first_page_maps_output || exit 1"]
interval: 1m
timeout: 20s
retries: 3
start_period: 20s