Public | Automated Build

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


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


  • 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
Source Repository