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.
This commit is contained in:
Aelfa
2024-02-19 01:31:14 +05:00
committed by GitHub
parent 5202cce83f
commit 496b12c680

View File

@@ -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