Files
deflock/serverless/alpr_clusters/src/Dockerfile
T

13 lines
302 B
Docker

# Use the official AWS Lambda Python 3.9 base image
FROM amazon/aws-lambda-python:3.9
# Copy function code
COPY alpr_clusters.py ${LAMBDA_TASK_ROOT}
# Install dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt
# Set the CMD to your handler
CMD ["alpr_clusters.lambda_handler"]