Public | Automated Build

Last pushed: 2 days ago
Short Description
Angular CLI Docker Containers
Full Description
    _                      _                 ____ _     ___
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/

@angular/cli: 1.6.1<br/>
node: 6.11.2<br/>
npm: 3.10.10<br/>
yarn: 0.27.5<br/>
os: linux x64<br/>
package manager: yarn<br/>
docker hub: https://hub.docker.com/r/alexsuch/angular-cli/

Usage examples

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

Creating a project

docker run -it --rm -w /app -v $(pwd):/app alexsuch/angular-cli:1.6.1-chromium ng new my-project-name

Generating a component

docker run -it --rm -w /app -v $(pwd)/my-project-name:/app alexsuch/angular-cli:1.6.1-chromium ng g component sample-component

Serving

docker run -it --rm -w /app -v $(pwd)/my-project-name:/app -p 4200:4200 alexsuch/angular-cli:1.6.1-chromium ng serve --host 0.0.0.0

Credits

All credits for the CLI go for the Angular CLI team.

This Docker image has been made with ❤️ by Alejandro Such and all these wonderful contributors:

License

MIT

Docker Pull Command
Owner
alexsuch
Source Repository