Update Dockerfile
Browse files5 unmodified lines678991011131213141515161617181918202122235 unmodified lines
WORKDIR /app
# Thiết lập các biến môi trường cần thiếtENV HOME=/app \ DOCLING_SERVE_ENABLE_UI=1 \ DOCLING_SERVE_HOST=0.0.0.0 \ DOCLING_SERVE_PORT=7860 DOCLING_SERVE_PORT=7860 \ HF_HOME=/app/.cache/huggingface \ TRANSFORMERS_CACHE=/app/.cache/huggingface/transformers
# Tạo thư mục lưu model EasyOCRRUN mkdir -p /app/.EasyOCR && chmod -R 777 /app/.EasyOCR# Tạo toàn bộ thư mục cần thiết và cấp quyền root fullRUN mkdir -p /app/.EasyOCR /app/.cache/huggingface && \ chmod -R 777 /app
# Cài docling-serve# Cài docling serveRUN pip install --no-cache-dir "docling-serve[ui]"
EXPOSE 7860Dockerfile+7-5