Skip to content
This repository has been archived by the owner on Dec 20, 2020. It is now read-only.

Angular CLI Docker Image (originally based on John Papa image)

Notifications You must be signed in to change notification settings

olivier-schmitt/ngcli-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ng4dev-cli

Travis CI Docker Repository on Quay

ng4dev-cli is Docker image that helps Angular developers.

The Javascript ecosystem can be quite difficult to leverage.

For instance, if you try to install Angular CLI on an Ubuntu or a Mac OSX, you should failed miserably.

Check this issue : angular/angular-cli#7389

ng4dev-cli's purpose is to provide the developer with a working ngcli, portable and up to date.

The following command runs ngcli inside a container:

docker run --rm -v ${PWD}:/root/ngcli --name ngcli quay.io/olivier_schmitt/ng4dev-cli:1.4.5 ng $*

Put it in Shell file named "ngcli" and make it available in your PATH.

The following command runs the NG Live Development Server (default port is 4200, change the port mapping in docker command to fit your needs):

docker run --rm -v ${PWD}:/root/ngcli  -p 5858:5858 -p 4200:4200 --name ngcli quay.io/olivier_schmitt/ng4dev-cli:1.4.5 ng serve --host 0.0.0.0 $*

About

Angular CLI Docker Image (originally based on John Papa image)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages