headless-wps
所属分类:OA办公系统
开发工具:Dockerfile
文件大小:0KB
下载次数:0
上传日期:2023-08-02 09:07:13
上 传 者:
sh-1993
说明: 在无头docker中运行[wps](),
(run [wps]() in headless docker,)
文件列表:
Dockerfile (909, 2023-09-05)
Office.conf (212, 2023-09-05)
entrypoint.sh (27, 2023-09-05)
example/ (0, 2023-09-05)
example/Dockerfile (1075, 2023-09-05)
example/convertto.py (3120, 2023-09-05)
example/entrypoint.sh (50, 2023-09-05)
example/requirements.txt (16, 2023-09-05)
# Headless-WPS
[中文版本](https://github.com/akkuman/headless-wps/blob/master/./README_CN.md)
run [wps](https://github.com/akkuman/headless-wps/blob/master/https://linux.wps.cn/) in headless docker
## Intro
the base image of this image(`akkuman/headless-wps`) is `debian:bullseye-slim`
[blog article](https://github.com/akkuman/headless-wps/blob/master/https://hacktech.cn/2023/08/02/2023-08-02-docker-%E4%B8%AD%E4%BD%BF%E7%94%A8-pywpsrpc/)
If you want to use wine msoffice2010, you can try [docker-msoffice2010-python](https://github.com/akkuman/headless-wps/blob/master/https://github.com/akkuman/docker-msoffice2010-python), but after my test, this is not stable enough, and it gets stuck regularly for unknown reasons
## Usage
You can use this image as a base image for other image
### example
```Dockerfile
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](https://github.com/akkuman/headless-wps/blob/master/example)
## References
- [pywpsrpc](https://github.com/akkuman/headless-wps/blob/master/https://github.com/timxx/pywpsrpc)
近期下载者:
相关文件:
收藏者: