Sign inSign up

jrnt30/nodejs-grunt-bower

By jrnt30

Updated almost 11 years ago

Nodejs image with Grunt and Bower globally installed for easier deployments

Image
0

954

jrnt30/nodejs-grunt-bower repository overview

jrnt30/nodejs-grunt-bower

jrnt30/nodejs-grunt-bower is a docker base image that bundles the latest version of nodejs and npm installed from nodejs.org.

In addition, it globally installs bower, grunt-cli and PhantomJS dependencies.

It serves as a base for the jrnt30/grunt-bower-runtime image.

Usage

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

      FROM jrnt30/nodejs-grunt-bower
      
      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:f35def374

Size

129.3 MB

Last updated

almost 11 years ago

docker pull jrnt30/nodejs-grunt-bower