Alpine image: Fix missing OSD and path

This commit is contained in:
James R. Barlow
2023-10-09 14:59:56 -07:00
parent 2b01676434
commit b75a7eca2a
+3
View File
@@ -41,6 +41,7 @@ RUN apk add --no-cache \
tesseract-ocr-data-deu \
tesseract-ocr-data-eng \
tesseract-ocr-data-fra \
tesseract-ocr-data-osd \
tesseract-ocr-data-por \
tesseract-ocr-data-spa \
ttf-droid \
@@ -61,4 +62,6 @@ COPY --from=builder /app/misc/watcher.py /app/
COPY --from=builder /app/pyproject.toml /app/README.md /app/
COPY --from=builder /app/tests /app/tests
ENV PATH="/app/.venv/bin:${PATH}"
ENTRYPOINT ["/app/.venv/bin/ocrmypdf"]