Skip to content

AI-powered virtual executive team — a single coherent executive persona backed by 8 specialist agents (FastAPI + Next.js).

fix(docker): install curl in the api image so the compose health check can pass

Rufusb79bcdcf140c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 64f2997b..c5439b29 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Fixed
+- **The compose health check no longer fails on a healthy API.** It runs
+ `curl -f http://localhost:8000/health` inside the API container, but the
+ image never installed `curl`, so the check failed on every run and compose
+ reported a working API as unhealthy. The API image now includes `curl`.
+
## [0.2.1] - 2026-09-22
### Changed
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 0dd2eb62..788f78e4 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -6,8 +6,12 @@ WORKDIR /app
# `uvx --from git+...`, which clones the repo. Without git, MCP startup
# fails with "Git executable not found" and uvicorn exits before the
# health check passes.
+# curl is required by the health check in docker/docker-compose.yml
+# (`curl -f http://localhost:8000/health`). python:3.11-slim does not ship it,
+# so that check failed on every run and compose marked a working API
+# unhealthy. git already pulls in libcurl, so this adds only the binary.
RUN apt-get update \
- && apt-get install -y --no-install-recommends git \
+ && apt-get install -y --no-install-recommends git curl \
&& rm -rf /var/lib/apt/lists/*
RUN pip install uv