run wps in headless docker
the base image of this image(akkuman/headless-wps
) is debian:bullseye-slim
If you want to use wine msoffice2010, you can try docker-msoffice2010-python, but after my test, this is not stable enough, and it gets stuck regularly for unknown reasons
You can use this image as a base image for other image
FROM akkuman/headless-wps
RUN apt update && apt install libqt5xml5 python3 python3-pip
RUN python3 -m pip --no-cache-dir --no-compile install pywpsrpc
COPY example.py /root/example.py
CMD [ "python3", "example.py" ]
or look at the example