I used aspose-words in local windows and Macos, it works fine with document having 38 pages.
When I deploy using docker
https://packages.microsoft.com/debian/11/prod bullseye mai
FROM python:3.10.11 as build
WORKDIR /…...1280x1024x24 ENV DISPLAY=:99 # Replace 'start.sh' with your application...