build ocr

This commit is contained in:
2026-03-28 01:59:13 -05:00
parent e1145b9448
commit 0e03cec842
14 changed files with 379 additions and 22 deletions

View File

@@ -25,6 +25,9 @@ RUN npm run build
FROM node:20-alpine AS runtime
WORKDIR /app
# Tesseract OCR — English language data only (add more langs as needed)
RUN apk add --no-cache tesseract-ocr tesseract-ocr-data-eng
# Install production deps only
COPY backend/package*.json ./
RUN npm install --omit=dev