fix: use psutil for reliable CPU and memory metrics

This commit is contained in:
2026-06-04 15:36:39 +01:00
parent b3d3c0d457
commit 3ee079b18e
2 changed files with 18 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt flask
RUN pip install --no-cache-dir -r requirements.txt flask psutil
COPY . .
EXPOSE 8000