File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
expressjs-zip/hello-world Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const app = express()
33const port = process . env [ 'PORT' ] || 8080
44
55
6- app . get ( '/' , ( req , res ) => {
6+ app . get ( '/Prod ' , ( req , res ) => {
77 res . send ( 'Hi there!' )
88} )
99
Original file line number Diff line number Diff line change 11FROM public.ecr.aws/docker/library/node:16.13.2-stretch-slim
2- COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.2 .0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
2+ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.3 .0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
33EXPOSE 8080
44WORKDIR "/var/task"
55ADD src/package.json /var/task/package.json
Original file line number Diff line number Diff line change 11FROM public.ecr.aws/docker/library/python:3.8.12-slim-buster
2- COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.2 .0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
2+ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.3 .0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
33WORKDIR /var/task
44COPY app.py requirements.txt ./
55RUN python -m pip install -r requirements.txt
Original file line number Diff line number Diff line change 11FROM public.ecr.aws/docker/library/nginx:1.21.6
2- COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.2 .0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
2+ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.3 .0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
33WORKDIR "/tmp"
44ADD config/ /etc/nginx/
55ADD images/ /usr/share/nginx/html/images
Original file line number Diff line number Diff line change 11FROM public.ecr.aws/amazonlinux/amazonlinux:2.0.20220121.0
22
3- COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.2 .0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
3+ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.3 .0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
44
55RUN amazon-linux-extras install -y nginx1 php7.4 && yum clean all && rm -rf /var/cache/yum
66
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ COPY pom.xml ./
55RUN mvn -q clean package
66
77FROM public.ecr.aws/docker/library/amazoncorretto:8u322-al2
8- COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.2 .0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
8+ COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.3 .0 /opt/extensions/lambda-adapter /opt/extensions/lambda-adapter
99EXPOSE 8080
1010WORKDIR /opt
1111COPY --from=build-image /task/target/petstore-0.0.1-SNAPSHOT.jar /opt
You can’t perform that action at this time.
0 commit comments