Skip to content

Commit 2f3381a

Browse files
committed
fix: install google-chrome to install required dependencies
1 parent c766ea9 commit 2f3381a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ RUN mkdir -p /opt/bin/ && \
99

1010
FROM public.ecr.aws/lambda/python:3.8
1111
RUN mkdir -p /opt/bin && pip install selenium
12+
COPY google-chrome.repo /etc/yum.repos.d/
13+
RUN yum install -y --enablerepo=google-chrome google-chrome-stable
1214
COPY --from=build /opt/bin/headless-chromium /opt/bin/
1315
COPY --from=build /opt/bin/chromedriver /opt/bin/
1416
COPY test.py ./

0 commit comments

Comments
 (0)