This repository has been archived on 2026-11-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
kiskaadee 5de4f9fc8a fix(docker): upgrade pip to >=26.2.2 (CVE-2026-115557)
Upgrade pip during container build to ensure internal vendored
certifi is updated (2026.10.19) and eMudhra compromised CA keys
are removed from trust anchor.
2026-10-26 23:53:57 -05:00

19 lines
380 B
Docker

FROM python:3.11-alpine
WORKDIR /app
# 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/
# Default Environment Variables
ENV PORT=8000
ENV DOCS_ROOT=/docs
EXPOSE 8000
CMD ["python", "main.py"]