Sign inSign up

dlgoodchild/angular2

By dlgoodchild

•Updated almost 10 years ago

Run angular-cli commands (e.g. ng new my-app) without installing node.js + npm + angular-cli locally

Image
0

944

dlgoodchild/angular2 repository overview

This container is based on alpine and includes tini⁠, on which the ENTRYPOINT⁠ is based.

⁠Basic Usage

docker run --rm -v $(pwd):/home/dev/workspace dlgoodchild/angular2 ng new my-app --skip-npm
docker run --rm -v $(pwd):/home/dev/workspace dlgoodchild/angular2 ng serve -H 0.0.0.0

⁠Alias

Recommended usage is to create an alias in your .bashrc, or .bash_profile:

alias ng='docker run --rm -v $(pwd):/home/dev/workspace dlgoodchild/angular2 ng'

With this you can now simply execute ng commands as though it was locally installed

Tag summary

Content type

Image

Digest

Size

71.5 MB

Last updated

almost 10 years ago

docker pull dlgoodchild/angular2