Skip to content

Commit 62380e5

Browse files
authored
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.
1 parent 0a2c9ad commit 62380e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/consumer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN npm prune --omit=dev
1313
FROM node:lts-buster-slim
1414

1515
# Install necessary packages, including procps
16-
RUN apt update && apt install -y procps && rm -rf /var/lib/apt/lists/*
16+
RUN apt update && apt install -y git procps && rm -rf /var/lib/apt/lists/*
1717

1818
WORKDIR /app
1919

0 commit comments

Comments
 (0)