# Use lambda/python 3.10 as base image.
FROM public.ecr.aws/lambda/python:3.10

# Install dependencies.
COPY requirements.txt ./
RUN pip install --upgrade pip && \
    pip install -r requirements.txt

# Deploy application.
COPY restore-objects.py ./

# Configure entrypoint.
CMD ["restore-objects.handler"]
