mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 04:24:45 +00:00
fix(actor): remove references to missing docling_processor.py
Signed-off-by: Václav Vančura <commit@vancura.dev>
This commit is contained in:
parent
aeb0716bbb
commit
d21a870a73
@ -64,7 +64,6 @@ ENV EASYOCR_MODULE_PATH=/tmp/easyocr-models
|
|||||||
COPY --chown=1000:1000 .actor/actor.sh .actor/actor.sh
|
COPY --chown=1000:1000 .actor/actor.sh .actor/actor.sh
|
||||||
COPY --chown=1000:1000 .actor/actor.json .actor/actor.json
|
COPY --chown=1000:1000 .actor/actor.json .actor/actor.json
|
||||||
COPY --chown=1000:1000 .actor/input_schema.json .actor/input_schema.json
|
COPY --chown=1000:1000 .actor/input_schema.json .actor/input_schema.json
|
||||||
COPY --chown=1000:1000 .actor/docling_processor.py .actor/docling_processor.py
|
|
||||||
RUN chmod +x .actor/actor.sh
|
RUN chmod +x .actor/actor.sh
|
||||||
|
|
||||||
# Copy the build files from builder
|
# Copy the build files from builder
|
||||||
|
@ -154,17 +154,6 @@ else
|
|||||||
echo "Warning: No build files directory found. Some tools may be unavailable."
|
echo "Warning: No build files directory found. Some tools may be unavailable."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Copy Python processor script to tools directory
|
|
||||||
PYTHON_SCRIPT_PATH="$(dirname "$0")/docling_processor.py"
|
|
||||||
if [ -f "$PYTHON_SCRIPT_PATH" ]; then
|
|
||||||
echo "Copying Python processor script to tools directory..."
|
|
||||||
cp "$PYTHON_SCRIPT_PATH" "$TOOLS_DIR/"
|
|
||||||
chmod +x "$TOOLS_DIR/docling_processor.py"
|
|
||||||
else
|
|
||||||
echo "ERROR: Python processor script not found at $PYTHON_SCRIPT_PATH"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check OCR directories and ensure they're writable
|
# Check OCR directories and ensure they're writable
|
||||||
echo "Checking OCR directory permissions..."
|
echo "Checking OCR directory permissions..."
|
||||||
OCR_DIR="/opt/app-root/src/.EasyOCR"
|
OCR_DIR="/opt/app-root/src/.EasyOCR"
|
||||||
|
Loading…
Reference in New Issue
Block a user