Python with Node.js
500K+
Production-ready Docker images featuring Python and Node.js in various combinations. Perfect for projects requiring both ecosystems.
c0mpiler)Every image comes with:
c0mpiler (uid/gid: 1000/1000)# 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
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
We provide a comprehensive matrix of supported Python and Node.js versions:
| Python | Node.js | Example Tags |
|---|---|---|
| 3.13 | 23, 22, 20, 18 | python3.13-nodejs23, python3.13-nodejs23-slim |
| 3.12 | 23, 22, 20, 18 | python3.12-nodejs22, python3.12-nodejs22-alpine |
| 3.11 | 23, 22, 20, 18 | python3.11-nodejs20, python3.11-nodejs20-bullseye |
| 3.10 | 23, 22, 20, 18 | python3.10-nodejs18, python3.10-nodejs18-slim |
| 3.9 | 23, 22, 20, 18 | python3.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.
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"]
For issues, feature requests, or contributions, please visit our GitHub repository.
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