Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion workers/keyword-lambda-python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM public.ecr.aws/lambda/python:3.9

RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
&& yum update -y \
&& yum install -y \
tesseract
Expand Down
2 changes: 1 addition & 1 deletion workers/tesseract-lambda-python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=linux/amd64 public.ecr.aws/lambda/python:3.9

RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
&& yum update -y \
&& yum install -y \
tesseract
Expand Down
6 changes: 3 additions & 3 deletions workers/tesseract-lambda/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM public.ecr.aws/lambda/nodejs:16
FROM public.ecr.aws/lambda/nodejs:20

# RUN yum update -y \
# && yum install -y tesseract-ocr

RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
&& yum -y update \
&& yum -y groupinstall 'Development Tools' \
&& yum -y install tesseract python3
Expand All @@ -13,7 +13,7 @@ COPY package.json ${LAMBDA_TASK_ROOT}

RUN npm install

FROM public.ecr.aws/lambda/nodejs:16
FROM public.ecr.aws/lambda/nodejs:20

COPY --from=0 ${LAMBDA_TASK_ROOT} ${LAMBDA_TASK_ROOT}

Expand Down