Skip to content

osvaldot/ng-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Angular Firebase CLI Docker Image

Node.js 8.12.0 LTS

Angular CLI 6.2.3

Firebase CLI 4.2.1

Create a new project in current directory

docker run -it --rm -v $(pwd):/opt/app osvaldotulini/ng-firebase ng new my-app --directory="opt/app"

Setup Firebase project

docker run -it --rm -v $(pwd):/opt/app osvaldotulini/ng-firebase sh -c 'firebase init'

Run app

docker run -it --rm -w /opt/app -v $(pwd):/opt/app -p 4200:4200 osvaldotulini/ng-firebase sh -c 'ng serve --host 0.0.0.0'

Add new angular component

docker run -it --rm -w /opt/app -v $(pwd):/opt/app osvaldotulini/ng-firebase sh -c 'ng g c new-component'

Links

Angular CLI https://github.com/angular/angular-cli

Node.js https://nodejs.org/en/

Firebase CLI https://github.com/firebase/firebase-tools

About

Docker Angular-cli + Firebase tools image

Resources

Stars

Watchers

Forks

Packages

No packages published