fix(infra): replace curl healthcheck with wget, install wget in runtime

Co-Authored-By: Kilo <kilo@kilo.ai>
This commit is contained in:
asepharyana
2026-07-24 18:52:40 +07:00
co-authored by Kilo
parent e10a2e498b
commit 3c52036f7e
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ services:
ports: ports:
- "3002:3001" - "3002:3001"
healthcheck: healthcheck:
test: ['CMD-SHELL', 'curl -so /dev/null --connect-timeout 5 http://localhost:3001/health || test $? -eq 22'] test: ['CMD-SHELL', 'wget -q -O /dev/null http://localhost:3001/health || exit 1']
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 5 retries: 5
+1
View File
@@ -54,6 +54,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
tesseract-ocr-osd \ tesseract-ocr-osd \
ca-certificates \ ca-certificates \
fonts-dejavu-core \ fonts-dejavu-core \
wget \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
WORKDIR /app WORKDIR /app