Skip to content

Commit 8d718ae

Browse files
committed
fix(backend): install curl for Docker healthchecks
The backend container was marked as unhealthy because the healthcheck command uses curl but curl wasn't installed in the python:3.11-slim image. - Added apt-get install curl to Dockerfile - This fixes the healthcheck failures in production - Container was actually running fine, just couldn't report health status
1 parent cbdc50a commit 8d718ae

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

backend/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ FROM python:3.11-slim
22

33
WORKDIR /app
44

5+
# Install curl for healthchecks
6+
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
7+
58
# Install backend runtime deps
69
COPY backend/requirements.txt /app/requirements.txt
710
RUN pip install --no-cache-dir -r /app/requirements.txt

0 commit comments

Comments
 (0)