plotscribe / Dockerfile
jkos9's picture
Claude Opus 5.5
plotscribe: classical-CV chart image to CSV extractor
6f423bd
Raw History Blame Contribute Delete
489 Bytes
# Small CPU-only image: Python + OpenCV (headless) + Tesseract. No GPU, no ML models.
FROM python:3.12-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends tesseract-ocr tesseract-ocr-eng \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY pyproject.toml README.md ./
COPY plotscribe ./plotscribe
RUN pip install --no-cache-dir ".[web]"
ENV OMP_NUM_THREADS=1
EXPOSE 8000
CMD ["uvicorn", "plotscribe.web:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "2"]