feat: Add receipt parsing functionality with image and PDF support, including Tesseract OCR integration
This commit is contained in:
@@ -19,6 +19,12 @@ FROM node:22-alpine AS runner
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
|
||||
# Tesseract OCR systempaket (krävs av tesseract.js)
|
||||
RUN apk add --no-cache \
|
||||
tesseract-ocr \
|
||||
tesseract-ocr-data-swe \
|
||||
tesseract-ocr-data-eng
|
||||
|
||||
COPY --from=builder /app/package.json ./package.json
|
||||
COPY --from=builder /app/node_modules ./node_modules
|
||||
COPY --from=builder /app/dist ./dist
|
||||
|
||||
Reference in New Issue
Block a user