Skip to content

Repository files navigation

🐳 Python with Node.js

PullsCircleCI

Last updated by bot: 2026-08-06

The latest tag is currently:

  • Node.js: 22.x
  • npm: 10.x
  • yarn: stable
  • Python: latest
  • pip: latest
  • pipenv: latest
  • poetry: latest
  • uv: latest

🏷 Tags

To use a specific combination of Python and Node.js see the following table of available image tags.

TagPython versionNode.js versionDistro
python3.14-nodejs263.14.726.7.0trixie
python3.14-nodejs26-bookworm3.14.726.7.0bookworm
python3.14-nodejs26-slim3.14.726.7.0slim
python3.14-nodejs26-alpine3.14.726.7.0alpine
python3.14-nodejs243.14.724.19.0trixie
python3.14-nodejs24-bookworm3.14.724.19.0bookworm
python3.14-nodejs24-slim3.14.724.19.0slim
python3.14-nodejs24-alpine3.14.724.19.0alpine
python3.14-nodejs223.14.722.23.2trixie
python3.14-nodejs22-bookworm3.14.722.23.2bookworm
python3.14-nodejs22-slim3.14.722.23.2slim
python3.14-nodejs22-alpine3.14.722.23.2alpine
python3.13-nodejs263.13.1426.7.0trixie
python3.13-nodejs26-bookworm3.13.1426.7.0bookworm
python3.13-nodejs26-slim3.13.1426.7.0slim
python3.13-nodejs26-alpine3.13.1426.7.0alpine
python3.13-nodejs243.13.1424.19.0trixie
python3.13-nodejs24-bookworm3.13.1424.19.0bookworm
python3.13-nodejs24-slim3.13.1424.19.0slim
python3.13-nodejs24-alpine3.13.1424.19.0alpine
python3.13-nodejs223.13.1422.23.2trixie
python3.13-nodejs22-bookworm3.13.1422.23.2bookworm
python3.13-nodejs22-slim3.13.1422.23.2slim
python3.13-nodejs22-alpine3.13.1422.23.2alpine
python3.12-nodejs263.12.1326.7.0trixie
python3.12-nodejs26-bookworm3.12.1326.7.0bookworm
python3.12-nodejs26-slim3.12.1326.7.0slim
python3.12-nodejs26-alpine3.12.1326.7.0alpine
python3.12-nodejs243.12.1324.19.0trixie
python3.12-nodejs24-bookworm3.12.1324.19.0bookworm
python3.12-nodejs24-slim3.12.1324.19.0slim
python3.12-nodejs24-alpine3.12.1324.19.0alpine
python3.12-nodejs223.12.1322.23.2trixie
python3.12-nodejs22-bookworm3.12.1322.23.2bookworm
python3.12-nodejs22-slim3.12.1322.23.2slim
python3.12-nodejs22-alpine3.12.1322.23.2alpine
python3.11-nodejs263.11.1526.7.0trixie
python3.11-nodejs26-bookworm3.11.1526.7.0bookworm
python3.11-nodejs26-slim3.11.1526.7.0slim
python3.11-nodejs26-alpine3.11.1526.7.0alpine
python3.11-nodejs243.11.1524.19.0trixie
python3.11-nodejs24-bookworm3.11.1524.19.0bookworm
python3.11-nodejs24-slim3.11.1524.19.0slim
python3.11-nodejs24-alpine3.11.1524.19.0alpine
python3.11-nodejs223.11.1522.23.2trixie
python3.11-nodejs22-bookworm3.11.1522.23.2bookworm
python3.11-nodejs22-slim3.11.1522.23.2slim
python3.11-nodejs22-alpine3.11.1522.23.2alpine
python3.10-nodejs263.10.2026.7.0trixie
python3.10-nodejs26-bookworm3.10.2026.7.0bookworm
python3.10-nodejs26-slim3.10.2026.7.0slim
python3.10-nodejs26-alpine3.10.2026.7.0alpine
python3.10-nodejs243.10.2024.19.0trixie
python3.10-nodejs24-bookworm3.10.2024.19.0bookworm
python3.10-nodejs24-slim3.10.2024.19.0slim
python3.10-nodejs24-alpine3.10.2024.19.0alpine
python3.10-nodejs223.10.2022.23.2trixie
python3.10-nodejs22-bookworm3.10.2022.23.2bookworm
python3.10-nodejs22-slim3.10.2022.23.2slim
python3.10-nodejs22-alpine3.10.2022.23.2alpine

Lovely! These tags are kept updated automatically when new minor or patch version are released. The python script in src/docker_python_nodejs handling this is run twice a day on GitHub actions.

Image tags are built for linux/amd64 and linux/arm64 platforms, except for alpine which is only linux/amd64. See issue #70 for details.

Supported versions

Python versionStartEnd
3.142025-10-072030-10
3.132024-10-072029-10
3.122023-10-022028-10
3.112022-10-242027-10
3.102021-10-042026-10
Node.js versionStartEnd
v262026-05-052029-04-30
v242025-05-062028-04-30
v222024-04-242027-04-30

Versions are kept up to date using official sources. For Python we scrape the Supported Versions table at devguide.python.org/versions and for Node.js we fetch the release schedule JSON from github.com/nodejs/Release.

Typical tasks

# Pull from Docker Hub
docker pull nikolaik/python-nodejs:latest
# Build from GitHub
docker build -t nikolaik/python-nodejs github.com/nikolaik/docker-python-nodejs
# Run image
docker run -it nikolaik/python-nodejs bash

Use as base image

FROM nikolaik/python-nodejs:latest
USER pn
WORKDIR /home/pn/app

All images have a default user pn with uid 1000 and gid 1000.

Disclaimer

This is experimental and might break from time to time. Use at your own risk!

About

🐳 Python with Node.js docker image

Resources

Stars

556 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages