Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

spectrakey/nodejs

spectrakey/nodejs is a docker base image that bundles the latest version of nodejs and npm from the docker maintained slim image. It also installs some global dependencies

Usage

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

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

      docker build -t my/app .
    
Docker Pull Command
Owner
spectrakey
Source Repository

Comments (0)