Update Dockerfile
Browse files5 unmodified lines67891011121314151617181920215 unmodified linesWORKDIR /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# Tạo thư mục lưu model EasyOCRRUN mkdir -p /app/.EasyOCR && chmod -R 777 /app/.EasyOCR# Cài docling-serveRUN pip install --no-cache-dir "docling-serve[ui]"EXPOSE 78605 unmodified lines678910111213141516171819202122235 unmodified linesWORKDIR /appENV HOME=/app \DOCLING_SERVE_ENABLE_UI=1 \DOCLING_SERVE_HOST=0.0.0.0 \DOCLING_SERVE_PORT=7860 \HF_HOME=/app/.cache/huggingface \TRANSFORMERS_CACHE=/app/.cache/huggingface/transformers# 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 serveRUN pip install --no-cache-dir "docling-serve[ui]"EXPOSE 7860
Dockerfile+7-5