Skip to content

Commit dc1d150

Browse files
authored
Updated Dockerfile 📝
1 parent e509502 commit dc1d150

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Dockerfile

+7-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
FROM debian:stable
33

44
## Install linux / python dependencies
5-
RUN apt-get update -y && apt-get install -y python3 python3-pip tesseract-ocr ghostscript
5+
RUN apt-get update -y && apt-get install -y \
6+
python3 \
7+
python3-pip \
8+
tesseract-ocr \
9+
ghostscript \
10+
ocrmypdf
611

712
## Install python project dependencies
8-
RUN pip3 install ocrmypdf
13+
# RUN pip3 install ocrmypdf # This can be skipped since we are now installing ocrmypdf via apt
914

1015
## Copy the Entry Point
1116
COPY entrypoint /usr/local/bin/

0 commit comments

Comments
 (0)