File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- FROM public.ecr.aws/lambda/java:11 .2023.07.19.04 AS build
1+ FROM public.ecr.aws/lambda/java:17 .2023.07.19.04 AS build
22
33RUN yum install -y unzip
44RUN curl -Lo "/tmp/chromedriver.zip" "https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriver_linux64.zip" && \
55 curl -Lo "/tmp/chrome-linux.zip" "https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F1135561%2Fchrome-linux.zip?alt=media" && \
66 unzip /tmp/chromedriver.zip -d /opt/ && \
77 unzip /tmp/chrome-linux.zip -d /opt/
88
9- FROM public.ecr.aws/lambda/java:11 .2023.07.19.04
9+ FROM public.ecr.aws/lambda/java:17 .2023.07.19.04
1010RUN yum install -y atk cups-libs gtk3 libXcomposite alsa-lib \
1111 libXcursor libXdamage libXext libXi libXrandr libXScrnSaver \
1212 libXtst pango at-spi2-atk libXt xorg-x11-server-Xvfb \
@@ -15,6 +15,6 @@ RUN yum install -y atk cups-libs gtk3 libXcomposite alsa-lib \
1515COPY --from=build /opt/chrome-linux /opt/chrome
1616COPY --from=build /opt/chromedriver/ /opt/
1717
18- COPY target /classes ${LAMBDA_TASK_ROOT}
19- COPY target /dependency/* ${LAMBDA_TASK_ROOT}/lib/
18+ COPY build /classes/kotlin/main ${LAMBDA_TASK_ROOT}
19+ COPY build /dependency/* ${LAMBDA_TASK_ROOT}/lib/
2020CMD [ "MainKt::handleRequest" ]
You can’t perform that action at this time.
0 commit comments