# Use the official AWS Lambda Python base image
FROM amazon/aws-lambda-python:3.13

# Set the working directory inside the container
WORKDIR /var/task

# Copy the Lambda function code into the container
COPY app.py .

# Install any dependencies (if required)
# Uncomment the following lines if you have a requirements.txt file
# COPY requirements.txt .
# RUN pip install -r requirements.txt

# Set the default command to run the Lambda function handler
CMD ["app.lambda_handler"]
