Skip to content

Commit c810e8c

Browse files
committed
style: reduce code
1 parent 8693437 commit c810e8c

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ 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
12+
RUN yum install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
1413
COPY --from=build /opt/bin/headless-chromium /opt/bin/
1514
COPY --from=build /opt/bin/chromedriver /opt/bin/
1615
COPY test.py ./

google-chrome.repo

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)