robbertkl/node

By robbertkl

Updated about 8 years ago

Docker container running Node.js

Image
0

4.5K

robbertkl/node repository overview

robbertkl/node

Docker container running Node.js:

  • Either run it directly with a mounted volume or extend it into an image with your code included
  • Does not expose any ports

Usage

Either run it directly:

docker run -d -v <path-to-code>:/usr/src/app -p 80:3000 robbertkl/node

Or extend it:

FROM robbertkl/node

COPY package.json ./
RUN npm install
COPY . .

EXPOSE 3000

...

Authors

License

This repo is published under the MIT License.

Tag summary

Content type

Image

Digest

Size

31.3 MB

Last updated

about 8 years ago

docker pull robbertkl/node