File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM alexsuch/angular-cli:base
33LABEL authors="Alejandro Such <alejandro.such@gmail.com> , Mihai Bob <mihai.m.bob@gmail.com>"
44
55RUN apk update \
6- && yarn global add @angular/cli@1.7.0-beta.1 \
6+ && yarn global add @angular/cli@1.7.3 \
77 && ng set --global packageManager=yarn \
88 && rm -rf /tmp/* /var/cache/apk/* *.tar.gz ~/.npm \
99 && npm cache clear --force \
Original file line number Diff line number Diff line change 77 |___/
88```
99
10- ** @angular/cli :** 1.7.0-beta.1 <br />
10+ ** @angular/cli :** 1.7.3 <br />
1111** node:** 6.11.2<br />
1212** npm:** 3.10.10<br />
1313** yarn:** 0.27.5<br />
@@ -22,19 +22,19 @@ This image has the same usage as Angular CLI (https://cli.angular.io/)
2222### Creating a project
2323
2424```
25- docker run -it --rm -w /app -v $(pwd):/app alexsuch/angular-cli:1.7.0-beta.1 -chromium ng new my-project-name
25+ docker run -it --rm -w /app -v $(pwd):/app alexsuch/angular-cli:1.7.3 -chromium ng new my-project-name
2626```
2727
2828### Generating a component
2929
3030```
31- docker run -it --rm -w /app -v $(pwd)/my-project-name:/app alexsuch/angular-cli:1.7.0-beta.1 -chromium ng g component sample-component
31+ docker run -it --rm -w /app -v $(pwd)/my-project-name:/app alexsuch/angular-cli:1.7.3 -chromium ng g component sample-component
3232```
3333
3434### Serving
3535
3636```
37- docker run -it --rm -w /app -v $(pwd)/my-project-name:/app -p 4200:4200 alexsuch/angular-cli:1.7.0-beta.1 -chromium ng serve --host 0.0.0.0
37+ docker run -it --rm -w /app -v $(pwd)/my-project-name:/app -p 4200:4200 alexsuch/angular-cli:1.7.3 -chromium ng serve --host 0.0.0.0
3838```
3939
4040## Credits
You can’t perform that action at this time.
0 commit comments