/docker-python-nodejs

🐳 Python with Node.js docker image

Primary LanguagePython

Pulls CircleCI

Last updated by bot: 2022-12-15

🐳 Python with Node.js

The latest tag is currently:

  • Node: 18.x
  • npm: 8.x
  • yarn: stable
  • Python: latest
  • pip: latest
  • pipenv: latest
  • poetry: latest

🏷 Tags

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

Tag Python version Node.js version Distro
python3.11-nodejs19 3.11.1 19.3.0 buster
python3.11-nodejs19-bullseye 3.11.1 19.3.0 bullseye
python3.11-nodejs19-slim 3.11.1 19.3.0 slim
python3.11-nodejs19-alpine 3.11.1 19.3.0 alpine
python3.11-nodejs18 3.11.1 18.12.1 buster
python3.11-nodejs18-bullseye 3.11.1 18.12.1 bullseye
python3.11-nodejs18-slim 3.11.1 18.12.1 slim
python3.11-nodejs18-alpine 3.11.1 18.12.1 alpine
python3.11-nodejs16 3.11.1 16.19.0 buster
python3.11-nodejs16-bullseye 3.11.1 16.19.0 bullseye
python3.11-nodejs16-slim 3.11.1 16.19.0 slim
python3.11-nodejs16-alpine 3.11.1 16.19.0 alpine
python3.11-nodejs14 3.11.1 14.21.2 buster
python3.11-nodejs14-bullseye 3.11.1 14.21.2 bullseye
python3.11-nodejs14-slim 3.11.1 14.21.2 slim
python3.11-nodejs14-alpine 3.11.1 14.21.2 alpine
python3.10-nodejs19 3.10.9 19.3.0 buster
python3.10-nodejs19-bullseye 3.10.9 19.3.0 bullseye
python3.10-nodejs19-slim 3.10.9 19.3.0 slim
python3.10-nodejs19-alpine 3.10.9 19.3.0 alpine
python3.10-nodejs18 3.10.9 18.12.1 buster
python3.10-nodejs18-bullseye 3.10.9 18.12.1 bullseye
python3.10-nodejs18-slim 3.10.9 18.12.1 slim
python3.10-nodejs18-alpine 3.10.9 18.12.1 alpine
python3.10-nodejs16 3.10.9 16.19.0 buster
python3.10-nodejs16-bullseye 3.10.9 16.19.0 bullseye
python3.10-nodejs16-slim 3.10.9 16.19.0 slim
python3.10-nodejs16-alpine 3.10.9 16.19.0 alpine
python3.10-nodejs14 3.10.9 14.21.2 buster
python3.10-nodejs14-bullseye 3.10.9 14.21.2 bullseye
python3.10-nodejs14-slim 3.10.9 14.21.2 slim
python3.10-nodejs14-alpine 3.10.9 14.21.2 alpine
python3.9-nodejs19 3.9.16 19.3.0 buster
python3.9-nodejs19-bullseye 3.9.16 19.3.0 bullseye
python3.9-nodejs19-slim 3.9.16 19.3.0 slim
python3.9-nodejs19-alpine 3.9.16 19.3.0 alpine
python3.9-nodejs18 3.9.16 18.12.1 buster
python3.9-nodejs18-bullseye 3.9.16 18.12.1 bullseye
python3.9-nodejs18-slim 3.9.16 18.12.1 slim
python3.9-nodejs18-alpine 3.9.16 18.12.1 alpine
python3.9-nodejs16 3.9.16 16.19.0 buster
python3.9-nodejs16-bullseye 3.9.16 16.19.0 bullseye
python3.9-nodejs16-slim 3.9.16 16.19.0 slim
python3.9-nodejs16-alpine 3.9.16 16.19.0 alpine
python3.9-nodejs14 3.9.16 14.21.2 buster
python3.9-nodejs14-bullseye 3.9.16 14.21.2 bullseye
python3.9-nodejs14-slim 3.9.16 14.21.2 slim
python3.9-nodejs14-alpine 3.9.16 14.21.2 alpine
python3.8-nodejs19 3.8.16 19.3.0 buster
python3.8-nodejs19-bullseye 3.8.16 19.3.0 bullseye
python3.8-nodejs19-slim 3.8.16 19.3.0 slim
python3.8-nodejs19-alpine 3.8.16 19.3.0 alpine
python3.8-nodejs18 3.8.16 18.12.1 buster
python3.8-nodejs18-bullseye 3.8.16 18.12.1 bullseye
python3.8-nodejs18-slim 3.8.16 18.12.1 slim
python3.8-nodejs18-alpine 3.8.16 18.12.1 alpine
python3.8-nodejs16 3.8.16 16.19.0 buster
python3.8-nodejs16-bullseye 3.8.16 16.19.0 bullseye
python3.8-nodejs16-slim 3.8.16 16.19.0 slim
python3.8-nodejs16-alpine 3.8.16 16.19.0 alpine
python3.8-nodejs14 3.8.16 14.21.2 buster
python3.8-nodejs14-bullseye 3.8.16 14.21.2 bullseye
python3.8-nodejs14-slim 3.8.16 14.21.2 slim
python3.8-nodejs14-alpine 3.8.16 14.21.2 alpine
python3.7-nodejs19 3.7.16 19.3.0 buster
python3.7-nodejs19-bullseye 3.7.16 19.3.0 bullseye
python3.7-nodejs19-slim 3.7.16 19.3.0 slim
python3.7-nodejs19-alpine 3.7.16 19.3.0 alpine
python3.7-nodejs18 3.7.16 18.12.1 buster
python3.7-nodejs18-bullseye 3.7.16 18.12.1 bullseye
python3.7-nodejs18-slim 3.7.16 18.12.1 slim
python3.7-nodejs18-alpine 3.7.16 18.12.1 alpine
python3.7-nodejs16 3.7.16 16.19.0 buster
python3.7-nodejs16-bullseye 3.7.16 16.19.0 bullseye
python3.7-nodejs16-slim 3.7.16 16.19.0 slim
python3.7-nodejs16-alpine 3.7.16 16.19.0 alpine
python3.7-nodejs14 3.7.16 14.21.2 buster
python3.7-nodejs14-bullseye 3.7.16 14.21.2 bullseye
python3.7-nodejs14-slim 3.7.16 14.21.2 slim
python3.7-nodejs14-alpine 3.7.16 14.21.2 alpine

Lovely! These tags are kept updated automatically when new minor or patch version are released by build_versions/main.py, which is run twice a day on CircleCI.

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!