From 67149e15448002754737c9fcc6799a6ce80059d4 Mon Sep 17 00:00:00 2001 From: "XPS\\Micro" Date: Sat, 31 Jan 2026 13:34:51 +0100 Subject: [PATCH] fix: install curl in frontend Dockerfile for healthcheck compatibility - Added curl installation in Debian slim runner stage - curl is required for healthcheck in docker-compose.yml - curl is pre-installed in node:20-slim base image was incorrect assumption - Healthcheck uses: curl -f http://localhost:3000/ - Cleaned up apt cache to keep image size minimal --- frontend/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index a44a00b..7789f14 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -22,6 +22,9 @@ WORKDIR /app ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1 +# curl installieren (fuer Health-Check) +RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/* + RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs