Update docker-compose.yml

add model download comment
This commit is contained in:
LeviWeiPower
2025-08-05 00:16:03 +08:00
committed by GitHub
parent 8b88ecbac0
commit f52599bbca
+4 -2
View File
@@ -5,9 +5,10 @@ services:
image: dots-ocr:latest
container_name: dots-ocr-container
ports:
- "8001:8000"
- "8000:8000"
volumes:
- /app/data/gpt/source-model/dots.ocr:/workspace/weights/DotsOCR
#download model to localmodel urlhttps://www.modelscope.cn/models/rednote-hilab/dots.ocr
- ./model/dots.ocr:/workspace/weights/DotsOCR
environment:
- CUDA_VISIBLE_DEVICES=0
- PYTHONPATH=/workspace/weights:$PYTHONPATH
@@ -40,3 +41,4 @@ services:
--trust-remote-code