Install Blender 3.4.0 As Python Module in Docker

Blender 3.4 release brought various changes to improve the support for running Blender as a Python module.

With the release, bpy 3.4.0 was made available on PyPi, installable through pip install bpy. Here’s how to get it running inside a Docker container.


  • Python 3.10 which matches the bundled Python version of Blender 3.4.0 release


FROM python:3.10.0
FROM python:3.10.0
RUN pip3 install

Building the Image

Build the image with linux/amd64 platform

docker build -t appname --platform=linux/amd64 .

March 8, 2023