Skip to content

Latest commit

 

History

History
31 lines (14 loc) · 938 Bytes

README.md

File metadata and controls

31 lines (14 loc) · 938 Bytes

Node.js Dockerfile

This repository contains Dockerfile of Node.js for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull dockerfile/nodejs

    (alternatively, you can build an image from Dockerfile: docker build -t="dockerfile/nodejs" github.com/dockerfile/nodejs)

Usage

docker run -it --rm dockerfile/nodejs

Run node

docker run -it --rm dockerfile/nodejs node

Run npm

docker run -it --rm dockerfile/nodejs npm