view love/pdf-mcp/Dockerfile @ 45:ac8626c7859c

[Gara] Re-writing basic logic in C and hoping that I can import that into Java.
author MrJuneJune <me@mrjunejune.com>
date Wed, 03 Dec 2025 20:51:50 -0800
parents cf9caa4abc3e
children
line wrap: on
line source

FROM python:3.11-slim

WORKDIR /app

# Copy requirements first for better caching
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy the rest of the code
COPY . .

EXPOSE 7776 

# Command is overridden in docker-compose
CMD ["python", "main.py"]