Skip to content

osvaldot/docker-angular-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Angular CLI Docker Image

Angular CLI 6.0.0 Node.js 8.11.1 LTS

Create a new project in current directory

docker run -it --rm -v $(pwd):/opt/app osvaldotulini/angular-cli:6 ng new my-app --directory="opt/app"

Run app

docker run -it --rm -w /opt/app -v $(pwd):/opt/app -p 4200:4200 osvaldotulini/angular-cli:6 sh -c 'ng serve --host 0.0.0.0'

Add new angular component

docker run -it --rm -w /opt/app -v $(pwd):/opt/app -p 4200:4200 osvaldotulini/angular-cli:6 sh -c 'ng g c new-component'

Links

Angular CLI https://github.com/angular/angular-cli

Node.js https://nodejs.org/en/

About

Docker Angular-cli image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published