From f3ecfaee28f35b8b303fe6c7141893d0a5a03259 Mon Sep 17 00:00:00 2001 From: Alejandro Such Berenguer Date: Tue, 20 Feb 2018 12:15:04 +0100 Subject: [PATCH] Update CLI version to 6.0.0-beta.2 --- Dockerfile | 2 +- README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8cad2e7..1738820 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ LABEL authors="Alejandro Such , Mihai Bob +**@angular/cli:** 6.0.0-beta.2
**node:** 6.11.2
**npm:** 3.10.10
**yarn:** 0.24.6
@@ -24,19 +24,19 @@ 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.7.0 ng new my-project-name +docker run -it --rm -w /app -v $(pwd):/app alexsuch/angular-cli:6.0.0-beta.2 ng new my-project-name ``` ### Generating a component ``` -docker run -it --rm -w /app -v $(pwd)/my-project-name:/app alexsuch/angular-cli:1.7.0 ng g component sample-component +docker run -it --rm -w /app -v $(pwd)/my-project-name:/app alexsuch/angular-cli:6.0.0-beta.2 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.7.0 ng serve --host 0.0.0.0 +docker run -it --rm -w /app -v $(pwd)/my-project-name:/app -p 4200:4200 alexsuch/angular-cli:6.0.0-beta.2 ng serve --host 0.0.0.0 ``` ## Credits