Sign inSign up

twnel/nodejs-media

By twnel

•Updated about 11 years ago

Image
0

1.5K

twnel/nodejs-media repository overview

⁠google/nodejs

google/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 google/nodejs-runtime⁠ image.

⁠Usage

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

      FROM google/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:d294ae187…

Size

341.3 MB

Last updated

almost 11 years ago

docker pull twnel/nodejs-media