Sign inSign up

gabikiwi/angular4

By gabikiwi

Updated about 9 years ago

This is a dockerized Angular4 Application, (The code is under /usr/src/app once the container is up)

Image
0

1.6K

gabikiwi/angular4 repository overview

This docker image has an Angular 4 app and you can run this docker image with the command

docker run -d --rm -p 4200:4200 --name "GabrielAngularContainer" gabikiwi/angular4

ex: http://192.168.99.100:4200

this will pull the angular4 app from the Docker Hub

You can build your own image once you pull the code from the Github to your local machine which has Docker engine installed.

E.g.: docker build -t gabikiwi/angular /PathToDockerFile/

For this app (FIRSTAPP) the path to the dockerfile is .../FiRSTAPP/Dockerfile

The code of the app is available on github

https://github.com/gabikiwi/Angular4

###########################################

how this App was built originally

FirstApp

This project was generated with Angular CLI version 1.2.1.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Tag summary

Content type

Image

Digest

Size

357.2 MB

Last updated

about 9 years ago

docker pull gabikiwi/angular4