Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 991 Bytes

Readme.md

File metadata and controls

31 lines (23 loc) · 991 Bytes
_                      _                 ____ _     ___

/ \ _ __ __ _ _ | | __ _ _ __ / | | | | / △ \ | ' \ / _ | | | | |/ _ | '| | | | | | | / ___ | | | | (| | || | | (| | | | || | | | // __| ||_, |_,||_,|| _||| |___/ @angular/cli: 1.0.0 node: 8.0 os: linux x64 package manager: yarn docker hub: https://hub.docker.com/r/atifsaddique/angular-cli/

Usage examples

This image has the same usage as Angular CLI (https://cli.angular.io/)

Creating a project

docker run -it --rm -v $PWD:/app -w /app atifsaddique/angular-cli ng new my-project-name

Generating a component

docker run -it --rm -v $PWD/my-project-name:/app -w /app atifsaddique/angular-cli ng g component sample-component

Serving

docker run -it --rm -v $PWD/my-project-name:/app -w /app -p 4200:4200 atifsaddique/angular-cli ng serve --host 0.0.0.0