Skip to content

fix: install curl in backend image to unblock healthcheck - #5

Merged
badry-dev merged 1 commit into
claude/setup-repo-scaffolding-cicd-1txixfrom
copilot/sub-pr-4
Mar 4, 2026
Merged

badry-dev merged 1 commit into
claude/setup-repo-scaffolding-cicd-1txixfrom
copilot/sub-pr-4

Conversation

Copilot AI commented Mar 4, 2026 •

Copy link
Copy Markdown

python:3.12-slim doesn't ship curl, so the api service healthcheck always failed, keeping the container permanently unhealthy and preventing web from starting via depends_on: condition: service_healthy.

Change

docker/Dockerfile.backend

  • Add curl to the apt-get install --no-install-recommends block alongside existing system deps
-# Install system dependencies required for psycopg2, oracledb, and bcrypt
+# Install system dependencies required for psycopg2, oracledb, bcrypt, and healthcheck
 RUN apt-get update && apt-get install -y --no-install-recommends \
     gcc \
     libpq-dev \
+    curl \
     && rm -rf /var/lib/apt/lists/*

The docker-compose.yml healthcheck (curl -f http://localhost:8000/api/v1/admin/health) is unchanged — it now has the tool it needs.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@badry-dev
badry-dev marked this pull request as ready for review March 4, 2026 16:55
Copilot AI review requested due to automatic review settings March 4, 2026 16:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@badry-dev
badry-dev merged commit ea3ec24 into claude/setup-repo-scaffolding-cicd-1txix Mar 4, 2026
1 check failed
Copilot AI changed the title [WIP] Address feedback on CI check failures in previous PR fix: install curl in backend image to unblock healthcheck Mar 4, 2026
Copilot stopped work on behalf of badry-dev due to an error March 4, 2026 16:56
@badry-dev
badry-dev deleted the copilot/sub-pr-4 branch March 4, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants