Update Dockerfile
Browse files6 unmodified lines789101112131415161718192021222324256 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 7860CMD ["docling-serve", "run"]6 unmodified lines789101112131415161718196 unmodified linesWORKDIR /appENV HOME=/app \HF_HOME=/app/.cache/huggingfaceRUN mkdir -p /app/.EasyOCR /app/.cache/huggingface && \chmod -R 777 /appRUN pip install --no-cache-dir "docling-serve[ui]"EXPOSE 7890CMD ["docling-serve", "run", "--host", "0.0.0.0", "--port", "7890", "--enable-ui"]
Dockerfile+3-9