c0mpiler/python-nodejs

By c0mpiler

Updated about 5 hours ago

Python with Node.js

Image
Languages & frameworks
Developer tools
Operating systems
0

500K+

c0mpiler/python-nodejs repository overview

Python with Node.js Docker Images

Docker Hub Pulls GitHub Repository MIT License

Production-ready Docker images featuring Python and Node.js in various combinations. Perfect for projects requiring both ecosystems.

Why Use These Images?

  • Professionally maintained with automated updates
  • Production-ready with security best practices
  • Multi-architecture support for amd64 and arm64 (Alpine: amd64 only)
  • Optimized for development and CI/CD workflows
  • Multiple distribution options to suit your needs
  • Non-root user preconfigured (user: c0mpiler)

What's Included

Every image comes with:

  • Python with pip, pipenv, poetry, and uv
  • Node.js with npm and yarn
  • Debian Bookworm, Bullseye, Slim, or Alpine base
  • Non-root user c0mpiler (uid/gid: 1000/1000)

Quick Start

# Run interactive shell with latest image
docker run -it c0mpiler/python-nodejs:python3.9-nodejs22 bash

# Verify installed versions
docker run c0mpiler/python-nodejs:python3.9-nodejs22 sh -c "python --version && node --version"

# Run with your application mounted
docker run -v $(pwd):/home/c0mpiler/app -w /home/c0mpiler/app c0mpiler/python-nodejs:python3.9-nodejs22 python app.py

Docker Compose Example

version: '3'
services:
  app:
    image: c0mpiler/python-nodejs:python3.12-nodejs22
    volumes:
      - .:/home/c0mpiler/app
    working_dir: /home/c0mpiler/app
    user: c0mpiler
    command: python app.py

Available Tags

We provide a comprehensive matrix of supported Python and Node.js versions:

PythonNode.jsExample Tags
3.1323, 22, 20, 18python3.13-nodejs23, python3.13-nodejs23-slim
3.1223, 22, 20, 18python3.12-nodejs22, python3.12-nodejs22-alpine
3.1123, 22, 20, 18python3.11-nodejs20, python3.11-nodejs20-bullseye
3.1023, 22, 20, 18python3.10-nodejs18, python3.10-nodejs18-slim
3.923, 22, 20, 18python3.9-nodejs20, python3.9-nodejs20-alpine

Each combination is available in four distribution variants:

  • bookworm (default, full Debian)
  • bullseye (older Debian)
  • slim (minimal Debian)
  • alpine (ultra-small footprint)

For the complete list of available tags, visit our GitHub Repository.

Using as a Base Image

FROM c0mpiler/python-nodejs:python3.12-nodejs22

# Use the pre-configured non-root user
USER c0mpiler
WORKDIR /home/c0mpiler/app

# Add your application code
COPY --chown=c0mpiler:c0mpiler . .

# Install dependencies
RUN pip install -r requirements.txt && \
    npm install

# Run your application
CMD ["python", "app.py"]

Support and Issues

For issues, feature requests, or contributions, please visit our GitHub repository.

Tag summary

Content type

Image

Digest

sha256:7877fa066

Size

234.1 MB

Last updated

about 5 hours ago

docker pull c0mpiler/python-nodejs:python3.10-nodejs22-slim