From 65e640e7a7a29a20de462d1d027ba87d00f086d3 Mon Sep 17 00:00:00 2001 From: Golda Velez Date: Wed, 22 May 2024 00:07:33 -0700 Subject: [PATCH] Create Dockerfile.kinesis --- logs-to-tsdb/Dockerfile.kinesis | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 logs-to-tsdb/Dockerfile.kinesis diff --git a/logs-to-tsdb/Dockerfile.kinesis b/logs-to-tsdb/Dockerfile.kinesis new file mode 100644 index 0000000..6cde985 --- /dev/null +++ b/logs-to-tsdb/Dockerfile.kinesis @@ -0,0 +1,13 @@ +FROM public.ecr.aws/lambda/python:3.10 + +ENV LAMBDA_TASK_ROOT /var/task + +WORKDIR ${LAMBDA_TASK_ROOT} + +COPY requirements.txt ${LAMBDA_TASK_ROOT} + +COPY kinesis-lambda.py ${LAMBDA_TASK_ROOT} + +RUN pip install -r requirements.txt + +CMD [ "kinesis-lambda.handler" ]