diff --git a/Dockerfile b/Dockerfile index 79de8c2..ae823ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,7 @@ RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs RUN set -x \ + && apk add --no-cache curl \ && corepack enable pnpm \ && pnpm add prisma diff --git a/docker-compose.yaml b/docker-compose.yaml index cc6a6d3..1644747 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -11,7 +11,7 @@ services: db: condition: service_healthy healthcheck: - test: ["CMD-SHELL", "curl http://localhost:3000/api/heartbeat"] + test: ["CMD-SHELL", "curl http://localhost:3000/api/health"] interval: 5s timeout: 5s retries: 5