mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user