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):