FROM quay.io/docling-project/docling-serve-cpu:latest # Force thread configurations directly inside the container layer ENV OMP_NUM_THREADS=2 ENV MKL_NUM_THREADS=2 ENV DOCLING_SERVE_MAX_SYNC_WAIT=600 # Clear the base image entrypoint and force Docling to run on port 7860 ENTRYPOINT [] CMD ["docling-serve", "run", "--host", "0.0.0.0", "--port", "7860"]