From 7143840ea28d5be751fcbeaa3f44ce783c5aa46b Mon Sep 17 00:00:00 2001 From: goose Date: Sun, 5 Jul 2026 11:47:05 -0300 Subject: [PATCH] fix: add curl to frontend runtime image for healthcheck --- backend/docker-compose.yml | 2 +- web/normogen-web/Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/docker-compose.yml b/backend/docker-compose.yml index ab2d838..8b5e777 100644 --- a/backend/docker-compose.yml +++ b/backend/docker-compose.yml @@ -57,7 +57,7 @@ services: backend: condition: service_healthy healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8080/"] + test: ["CMD", "curl", "-sf", "http://localhost:8080/"] interval: 30s timeout: 10s retries: 3 diff --git a/web/normogen-web/Dockerfile b/web/normogen-web/Dockerfile index d4b56f7..a456606 100644 --- a/web/normogen-web/Dockerfile +++ b/web/normogen-web/Dockerfile @@ -39,6 +39,7 @@ FROM debian:bookworm-slim RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates \ + curl \ && rm -rf /var/lib/apt/lists/* WORKDIR /app