From d6c31da507320095cbc3c5e0e31cdc864e2dcab2 Mon Sep 17 00:00:00 2001 From: TheOnlyWayUp Date: Sun, 22 Dec 2024 11:37:30 +0000 Subject: [PATCH] fix(dockerfile): Install add-apt-repository --- Dockerfile | 2 ++ src/api/src/create_book.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1c2b712..ff51798 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,8 @@ WORKDIR /app # Install git, exiftool +RUN apt update +RUN apt install -y software-properties-common RUN add-apt-repository ppa:apt-fast/stable RUN apt install -y apt-fast RUN apt update diff --git a/src/api/src/create_book.py b/src/api/src/create_book.py index 50961e9..dc9cf14 100644 --- a/src/api/src/create_book.py +++ b/src/api/src/create_book.py @@ -709,7 +709,7 @@ id="copyright-license-image">""".format( # # Cover and Copyright Page await self.generate_cover_and_copyright_html() await self.generate_about_author_chapter() - self.tree = BeautifulSoup(self.template) + self.tree = BeautifulSoup(self.template, "lxml") self.generate_toc() for part, content in zip(self.data["parts"], contents):