Use Node.js, npm, Yarn Classic, and Python in the same build environment. The image includes python, python3, pip, pip3, venv, virtualenv, and Python development headers.
| Platform | Base | Node.js | Python |
|---|---|---|---|
linux/amd64, linux/arm64 |
Debian 13 (Trixie) slim | 24 LTS | 3.13 |
linux/arm/v7 |
Debian 12 (Bookworm) slim | 22 LTS | 3.11 |
The 32-bit ARM build uses the maintained Node.js 22 Docker Official Image. Node.js 22 is scheduled to reach end of life on April 30, 2027. Plan to move ARM builds to linux/arm64 before then. Node.js image platforms Β· Node.js release schedule
docker pull beevelop/nodejs-python:latest
docker run --rm -it beevelop/nodejs-python:latestThe default command opens Bash and uses the root account so derived build images can install system packages. The upstream image also provides a node account for commands that do not need root.
When upgrading an older image based on Ubuntu, check OS package names and rebuild dependencies with native Node.js or Python extensions. Debian manages system Python packages under PEP 668. Install application dependencies in a virtual environment using python -m venv .venv and .venv/bin/python -m pip install -r requirements.txt.
For repeatable builds, pin a CalVer tag (vYYYY.MM.MICRO) or a digest from Docker Hub tags.
From the cloned repository:
docker buildx build --load -t nodejs-python:local .
docker run --rm nodejs-python:local bash -ec 'node --version; npm --version; yarn --version; python --version; python -m venv /tmp/venv; /tmp/venv/bin/python -m pip --version'Set --platform linux/arm/v7 on both commands to verify the 32-bit ARM image on a machine configured for that architecture or emulation.
Pull requests build and smoke-test all three platforms. Successful workflows on latest publish latest; version tags publish that release tag and latest. The daily scheduled rebuild refreshes nightly and latest with current Debian packages. Published images include an SBOM, provenance attestation, and a vulnerability scan linked to the published digest.
| Badge | Docker Hub | Build Status | Published | Release / Tag | License |
|---|---|---|---|---|---|
