From 62380e5f3cc6f68df8bac12bdd64fa8fa368c2bd Mon Sep 17 00:00:00 2001 From: Aelfa <60222501+aelfa@users.noreply.github.com> Date: Wed, 21 Feb 2024 03:58:36 +0500 Subject: [PATCH] pgrep command is part of the procps package, installed in the builder stage, but it's not present in the final stage. This modification adds the installation of procps in the final stage, ensuring that the pgrep command is available for health check. --- 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 005dec9..d52fbdd 100644 --- a/src/node/consumer/Dockerfile +++ b/src/node/consumer/Dockerfile @@ -13,7 +13,7 @@ RUN npm prune --omit=dev FROM node:lts-buster-slim # Install necessary packages, including procps -RUN apt update && apt install -y procps && rm -rf /var/lib/apt/lists/* +RUN apt update && apt install -y git procps && rm -rf /var/lib/apt/lists/* WORKDIR /app