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" ]