A Docker image that builds Blender 2.93 as a Python module for use in AWS Lambda.
This Git repository and its Dockerfile allow you to access Blender's feature set directly from the app.py application file used in AWS Lambda.
To re-create this image, make sure you have the following pre-requisites set up:
First, clone this repository:
git clone https://github.com/ShaneMcGovern/aws-lambda-blender-module.git
Build the image:
docker build -t aws-lambda-blender-module -f Dockerfile .
Run the container image:
docker run -d -p 9090:8080 aws-lambda-blender-module
Invoke the Lambda function. Using PowerShell in this example:
Invoke-WebRequest -Method POST -Uri "http://localhost:9090/2015-03-31/functions/function/invocations" -Body '{}'
Additional guidance can be found here at Testing Lambda container images locally.
- J.R. Beaudoin's blog post Rendering Blender scenes in the cloud with AWS Lambda.
Created by @shanemcgovern
This project is licensed under the Apache-2.0 License.