build ocr
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user