diff --git a/Dockerfile b/Dockerfile index 71f76e0..01f5ab6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ FROM python:3.11-alpine WORKDIR /app -# Install dependencies -RUN pip install --no-cache-dir markdown +# Upgrade pip to safe version (>=26.2.2, resolves CVE-2026-115557) and install dependencies +RUN pip install --no-cache-dir --upgrade "pip>=26.2.2" && \ + pip install --no-cache-dir markdown # Copy application files COPY app/ /app/