Sign inSign up

sandovaledwin/angular-cli

By sandovaledwin

•Updated almost 9 years ago

This an Angular CLI project running over Docker for creating new projects.

Image
0

106

sandovaledwin/angular-cli repository overview

This repository contains the Angular CLI tool (1.4.x) running over Docker. This project will help you to develop in not time any web application using the latest version of NodeJS (8.x).

Git Repo - Source Code⁠

  1. Downloading the Docker image.
docker pull sandovaledwin/angular-cli:1.4.8
  1. Creating your first Angular project.
docker run -it --rm -w /app -v $(pwd):/app sandovaledwin/angular-cli:1.4.8 /home/node/.npm-global/lib/node_modules/@angular/cli/bin/ng new my-project
  1. Running the project.
docker run -it --rm -w /app -v $(pwd)/my-project:/app -p 4200:4200 sandovaledwin/angular-cli:1.4.8 /home/node/.npm-global/lib/node_modules/@angular/cli/bin/ng serve --host 0.0.0.0
  1. Testing the project. In order to test that the project is running ok, you'll need to open the next url in the browser.

4.1 Open in the Browser the next url.

http://localhost:4200

Tag summary

Content type

Image

Digest

Size

119.2 MB

Last updated

almost 9 years ago

docker pull sandovaledwin/angular-cli:1.4.8