Skip to content

A Docker images that builds Blender as a Python module for use in AWS Lambda

License

Notifications You must be signed in to change notification settings

ShaneMcGovern/aws-lambda-blender-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda Blender Module

Description

A Docker image that builds Blender 2.93 as a Python module for use in AWS Lambda.

What I am doing here

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.

Usage

Requirements

To re-create this image, make sure you have the following pre-requisites set up:

Building and testing the image

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 .

Build the image

Run the container image:

docker run -d -p 9090:8080 aws-lambda-blender-module

Run the container image

Invoke the Lambda function. Using PowerShell in this example:

Invoke-WebRequest -Method POST -Uri "http://localhost:9090/2015-03-31/functions/function/invocations" -Body '{}'

Invoke the Lambda function

Additional guidance can be found here at Testing Lambda container images locally.

Acknowledgements

Contact

Created by @shanemcgovern

Licence

This project is licensed under the Apache-2.0 License.

About

A Docker images that builds Blender as a Python module for use in AWS Lambda

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published