Files
Maison/Wiki-print/Dockerfile
2026-02-10 12:12:11 +01:00

24 lines
412 B
Docker

FROM python:3.11-slim
WORKDIR /app
# Install pandoc, wget, and Poetry (SVG support is native in pandoc/LibreOffice)
RUN apt-get update \
&& apt-get install -y pandoc wget \
&& pip install poetry \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY pyproject.toml ./
RUN poetry install --no-root
COPY main.py ./
VOLUME /app/data
CMD ["poetry", "run", "python", "main.py"]