markitdown Docker & Self-Hosted Deployment

GitHub

Python tool for converting files and office documents to Markdown.

170,393 stars Python Python 1 file ยท ~6,706 tokens #autogen#autogen-extension#langchain#markdown#microsoft-office#openai#pdf
1. Pull Image (DOCKERHUB) docker pull microsoft/markitdown:latest
2. Docker Run (1-Click Launch) docker run -d --name markitdown --restart always microsoft/markitdown:latest
3. Podman Run podman run -d --name markitdown --restart always microsoft/markitdown:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/microsoft/markitdown:latest
5. ORAS Pull (OCI Artifact) oras pull microsoft/markitdown:latest
packages/markitdown-mcp/Dockerfile
FROM python:3.13-slim-trixie

ENV DEBIAN_FRONTEND=noninteractive
ENV EXIFTOOL_PATH=/usr/bin/exiftool
ENV FFMPEG_PATH=/usr/bin/ffmpeg
ENV MARKITDOWN_ENABLE_PLUGINS=True
ENV ORT_DISABLE_TELEMETRY=1

# Runtime dependencies
RUN apt-get update \
    && apt-get install -y --no-install-recommends \
        ffmpeg \
        libimage-exiftool-perl \
    && rm -rf /var/lib/apt/lists/*

COPY . /app

RUN pip install --no-cache-dir /app

WORKDIR /workdir

ARG USERID=nobody
ARG GROUPID=nogroup

USER ${USERID}:${GROUPID}

ENTRYPOINT ["markitdown-mcp"]