Sign inSign up

readytalk/nodejs

By readytalk

•Updated over 8 years ago

Node.js based off the official Debian Wheezy image with node installed from nodejs.org binaries.

Image
51

100K+

readytalk/nodejs repository overview

⁠readytalk/nodejs

readytalk/nodejs⁠ is a docker⁠ base image that bundles the latest version of nodejs⁠ and npm⁠ installed from nodejs.org⁠.

It serves as a base for the readytalk/nodejs-runtime⁠ image.

⁠Usage

  • Create a Dockerfile in your nodejs application directory with the following content:

      FROM readytalk/nodejs
      
      WORKDIR /app
      ADD package.json /app/
      RUN npm install
      ADD . /app
      
      CMD []
      ENTRYPOINT ["/nodejs/bin/npm", "start"]
    
  • Run the following command in your application directory:

      docker build -t my/app .
    

Tag summary

Content type

Image

Digest

sha256:afe26f49f…

Size

114.2 MB

Last updated

over 8 years ago

docker pull readytalk/nodejs