diff --git a/infra/compose/tools.yml b/infra/compose/tools.yml index 68f55b2..dc81c2f 100644 --- a/infra/compose/tools.yml +++ b/infra/compose/tools.yml @@ -25,7 +25,7 @@ services: ports: - "3002:3001" 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 timeout: 10s retries: 5 diff --git a/infra/docker/tools.Dockerfile b/infra/docker/tools.Dockerfile index 0921684..7587188 100644 --- a/infra/docker/tools.Dockerfile +++ b/infra/docker/tools.Dockerfile @@ -54,6 +54,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ tesseract-ocr-osd \ ca-certificates \ fonts-dejavu-core \ + wget \ && rm -rf /var/lib/apt/lists/* WORKDIR /app