{"repo":"nodejs/docker-node","free":true,"listed":false,"github":"https://github.com/nodejs/docker-node","clone":"git clone https://github.com/nodejs/docker-node.git","description":"Official Docker Image for Node.js :whale: :turtle: :rocket:","language":"Dockerfile","stars":8583,"topics":["docker-image","docker-node","node","docker","nodejs","dockerfile"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Node.js node - Docker Official Images on Docker Hub The official Node.js docker image, made with love by the node community. Table of Contents - What is Node.js? - How to use this image - Create a Dockerfile in your Node.js app project - Best Practices - Run a single Node.js script - npm loglevel - Dockerfile - Docker Run - npm run - Image Variants - node: - node:lts - node:alpine - node:bullseye - node:bookworm - node:trixie - node:slim - Long Term Support (LTS) - Release Availability - License - Supported Docker versions - Supported Node.js versions - Supported architectures - musl builds for Alpine - Yarn v1 Classic bundling - Governance and Current Members - Docker Maintainers - Collaborators - Emeritus What is Node.js? Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. See: https://nodejs.org How to use this image Create a Dockerfile in your Node.js app project You can then build and run the Docker image: If you prefer Docker Compose: You can then run using Docker Compose: Docker Compose example mounts your current directory (including node modules) to the container. It assumes that your application has a file named package.json defining start script. Best Practices We have assembled a Best Practices Guide for those using these i","default_branch":null,"files":null,"tree":[],"storefront":"/r/nodejs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nodejs/docker-node/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}