Feature/raspberry pi archive (#72)

* Converting OTP PDF generation to Latex to avoid installing wkhtmltopdf.

* Creating temporary_directory_path to simplify creating a TemporaryDirectory of type Path.

* Removing author

* Linting

* Installing texlive-latex-extra for more readable font.

* Raspberry pi has to archive locally.

Signed-off-by: Roland <roland@learningselfreliance.com>
This commit is contained in:
lrnselfreliance 2022-01-06 13:56:04 -07:00 • committed by Roland
parent d8f4d356bb
commit 6e55e7360b
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
10 changed files with 158 additions and 49 deletions

View file

@ -4,7 +4,9 @@ WORKDIR /opt/wrolpi
# Update dependencies for the services install.
RUN apt update
RUN apt install -y ffmpeg wkhtmltopdf
# ffmpeg for Videos and Latex for OTP PDF.
RUN apt-get install -y ffmpeg texlive-latex-base texlive-latex-extra
RUN pdflatex --version
# Install WROLPi
COPY main.py /opt/wrolpi/