Skip to content

Commit 2af8f54

Browse files
Create README.md
1 parent 16ab244 commit 2af8f54

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[![Infinity Refactoring](https://goo.gl/8YUdB6)](https://infinityrefactoring.com)
2+
3+
# Docker Angular CLI
4+
5+
[![dockeri.co](http://dockeri.co/image/infinityrefactoring/angular-cli)](https://hub.docker.com/r/infinityrefactoring/angular-cli)
6+
7+
[![GitHub issues](https://img.shields.io/github/issues/InfinityRefactoring/docker-angular-cli.svg)](https://github.com/InfinityRefactoring/docker-angular-cli)
8+
[![GitHub stars](https://img.shields.io/github/stars/InfinityRefactoring/docker-angular-cli.svg)](https://github.com/InfinityRefactoring/docker-angular-cli)
9+
[![Docker Automated Build](https://img.shields.io/docker/automated/infinityrefactoring/angular-cli.svg)](https://hub.docker.com/r/infinityrefactoring/angular-cli/builds)
10+
[![Docker Build Status](https://img.shields.io/docker/build/infinityrefactoring/angular-cli.svg)](https://hub.docker.com/r/infinityrefactoring/angular-cli/builds)
11+
12+
## What is it?
13+
14+
An Docker image to work on Angular projects with Angular CLI.
15+
16+
## Using Docker Angular CLI
17+
18+
### Use example:
19+
20+
```
21+
docker run -ti --rm -p 4200:4200 -v $HOME/angular:/home/node/app infinityrefactoring/angular-cli
22+
```
23+
24+
Creating a new project
25+
```
26+
ng new hello-world
27+
cd cd hello-world/
28+
```
29+
30+
Executing the project
31+
```
32+
ng serve --host 0.0.0.0
33+
```
34+
### Building this image:
35+
36+
```
37+
docker build -t infinityrefactoring/angular-cli:latest --build-arg NODE_VERSION=latest --build-arg ANGULAR_CLI_VERSION=latest .
38+
```
39+
40+
## Licensing
41+
42+
**InfinityRefactoring/docker-angular-cli** is provided and distributed under the [Apache Software License 2.0](http://www.apache.org/licenses/LICENSE-2.0).
43+
44+
Refer to *LICENSE* for more information.

0 commit comments

Comments
 (0)