diff --git a/Dockerfile b/Dockerfile index 2d53d78..93f7be0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM alexsuch/angular-cli:base LABEL authors="Alejandro Such , Mihai Bob " RUN apk update \ - && yarn global add @angular/cli@1.7.0-beta.1 \ + && yarn global add @angular/cli@6.0.0-beta.2 \ && ng set --global packageManager=yarn \ && rm -rf /tmp/* /var/cache/apk/* *.tar.gz ~/.npm \ && npm cache clear --force \ diff --git a/README.md b/README.md index aaa3cf0..07df9d5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ |___/ ``` -**@angular/cli:** 1.7.0-beta.1
+**@angular/cli:** 6.0.0-beta.2
**node:** 6.11.2
**npm:** 3.10.10
**yarn:** 0.27.5
@@ -22,19 +22,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-beta.1-chromium ng new my-project-name +docker run -it --rm -w /app -v $(pwd):/app alexsuch/angular-cli:6.0.0-beta.2-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.7.0-beta.1-chromium 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-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.7.0-beta.1-chromium 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-chromium ng serve --host 0.0.0.0 ``` ## Credits