feat(output): add wrapper and failed conversion handling

This commit is contained in:
2025-10-15 13:39:37 -05:00
parent 7afec09482
commit d7682ee87d
11 changed files with 324 additions and 0 deletions

26
output/Docker/Dockerfile Normal file
View File

@@ -0,0 +1,26 @@
FROM debian:bookworm
ENV DEBIAN_FRONTEND=noninteractive \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
RUN apt-get update \
&& apt-get install --yes --no-install-recommends \
python3 \
python3-venv \
gosu \
pandoc \
texlive-full \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY watch_and_convert.py entrypoint.sh ./
RUN chmod +x /app/entrypoint.sh /app/watch_and_convert.py
ENV PUID=1000 \
PGID=1000
ENTRYPOINT ["/app/entrypoint.sh"]