feat(output): add wrapper and failed conversion handling
This commit is contained in:
26
output/Docker/Dockerfile
Normal file
26
output/Docker/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user