seanpedrickcase
commited on
Commit
•
5f91219
1
Parent(s):
b723aad
Changed base python distribution to (hopefully) have access to tesseract-ocr package
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
FROM public.ecr.aws/docker/library/python:3.11.9-slim-bookworm
|
|
|
2 |
|
3 |
# Install system dependencies. Need to specify -y for poppler to get it to install
|
4 |
RUN apt-get update \
|
5 |
&& apt-get install -y \
|
6 |
tesseract-ocr -y \
|
7 |
-
#libtesseract-dev -y \
|
8 |
poppler-utils -y \
|
9 |
&& apt-get clean \
|
10 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
1 |
+
#FROM public.ecr.aws/docker/library/python:3.11.9-slim-bookworm
|
2 |
+
FROM public.ecr.aws/docker/library/python:3.11.9
|
3 |
|
4 |
# Install system dependencies. Need to specify -y for poppler to get it to install
|
5 |
RUN apt-get update \
|
6 |
&& apt-get install -y \
|
7 |
tesseract-ocr -y \
|
|
|
8 |
poppler-utils -y \
|
9 |
&& apt-get clean \
|
10 |
&& rm -rf /var/lib/apt/lists/*
|