It is not possible to use a docker image with aws lambda. Lambda is supposed to execute function or code snippets in different possible programming languages.
You should use AWS ECS to run docker container from images.
1
solved How to deploy a python docker image to AWS Lambda?