- Build the image:
docker build -t angular-cli-4200 .
- Run the image:
docker run -it -p 4200:4200 -p 80:442 -v $(pwd):/app angular-cli-4200 sh
-
Generate an app:
ng new <app name> --routing
-
Build and run app (seems to only be needed when serving form a container):
ng serve --port 4200 --host 0.0.0.0