marcopeg / docker-node

A developer friendly nodejs environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJS DevEnv for Docker

What is this?

This is a personal and opinionated NodeJS setup based on Docker.

It is just a Docker/_/node box pre-packed with a couple of common packages that you may need during your daily NodeJS work.

What do you neeed?

  1. a NodeJS project on your machine
    let's pretend you have it in /users/mpeg/node-app
  2. Docker is running on your Mac
    I didn't test this stuff on other systems, will ya?

How do I run it?

docker run -it --rm \
	-v /users/mpeg/node-app:/usr/src/app \
	-p 8080:8080 \
	marcopeg/node

Everything should start and you get a terminal session attached to the container.

At this point you should go crazy with your normal stuff:

npm install && npm start ...

What's packed in?

Feel free to extend it!!!

Do you know more useful stuff?
-> please PR your resources!

About

A developer friendly nodejs environment


Languages

Language:Shell 88.6%Language:JavaScript 11.4%