Surfaced by a role-based review; verified against current code.
Problem: Dockerfile:92 is HEALTHCHECK --interval=5m CMD curl -f http://localhost:7860/status. No --start-period (slow llama/SearXNG startup can flap the container to unhealthy), no --timeout, no --retries, and a 5-minute interval means up to five minutes to notice a dead container — poor for orchestrators/compose restart policies.
Fix: HEALTHCHECK --start-period=60s --interval=30s --timeout=10s --retries=3 CMD curl -fsS http://localhost:${PORT}/status || exit 1.
Files: Dockerfile
Surfaced by a role-based review; verified against current code.
Problem:
Dockerfile:92isHEALTHCHECK --interval=5m CMD curl -f http://localhost:7860/status. No--start-period(slow llama/SearXNG startup can flap the container tounhealthy), no--timeout, no--retries, and a 5-minute interval means up to five minutes to notice a dead container — poor for orchestrators/compose restart policies.Fix:
HEALTHCHECK --start-period=60s --interval=30s --timeout=10s --retries=3 CMD curl -fsS http://localhost:${PORT}/status || exit 1.Files:
Dockerfile