From 496b12c6803160335f85a1886ab0e5983d81df6e Mon Sep 17 00:00:00 2001 From: Aelfa <60222501+aelfa@users.noreply.github.com> Date: Mon, 19 Feb 2024 01:31:14 +0500 Subject: [PATCH] Resolve "pgrep: not found" issue Resolve "pgrep: not found" issue Added installation of the procps package in the builder stage to ensure the pgrep command is available in the final Docker image. This resolves the "pgrep: not found" issue in the HEALTHCHECK. --- src/node/consumer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/consumer/Dockerfile b/src/node/consumer/Dockerfile index 56378a6..f9a781f 100644 --- a/src/node/consumer/Dockerfile +++ b/src/node/consumer/Dockerfile @@ -1,6 +1,6 @@ FROM node:lts-buster-slim as builder -RUN apt update && apt install -y git && rm -rf /var/lib/apt/lists/* +RUN apt update && apt install -y git procps && rm -rf /var/lib/apt/lists/* WORKDIR /app