Dockerfile and pulumi stack for infra

This commit is contained in:
2025-09-05 18:02:43 -03:00
parent 180a639bdb
commit 32f4607c4b
7 changed files with 72 additions and 42 deletions

13
agent/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM public.ecr.aws/lambda/python:3.13
# Copy requirements.txt
COPY requirements.txt ${LAMBDA_TASK_ROOT}
# Install the specified packages
RUN pip install -r requirements.txt
# Copy function code
COPY agent.py ${LAMBDA_TASK_ROOT}
# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
CMD ["agent.hello" ]