1、下载Dockerfile文件
https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/china/Dockerfile
2、构建镜像
docker build -t mineru-sglang:latest -f Dockerfile .
3、下载 compose.yaml 文件
https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/compose.yaml
4、启动 Web API 服务
docker compose -f compose.yaml --profile api up -d
在浏览器中访问 http://<server_ip>:8000/docs 查看API文档。
5、启动 Gradio WebUI 服务
docker compose -f compose.yaml --profile gradio up -d
在浏览器中访问 http://<server_ip>:7860 使用 Gradio WebUI。
访问 http://<server_ip>:7860/?view=api 使用 Gradio API。
2802

被折叠的 条评论
为什么被折叠?



