Tutorial https://quickmute.github.io/2021/12/05/lambda-container-python.html How to Use Build it using this command docker build -t myfunction:latest . Run it, expose port 9000 docker run -d -p 9000:8080 myfunction:latest