8.9, latest6.11docker pull deasil/ng
docker run -it --rm deasil/ng ng --version
docker run -it --rm deasil/ng node --version
docker run -it --rm deasil/ng npm --version
docker pull deasil/ng:6.11
docker run -it --rm deasil/ng:6.11 ng --version
docker run -it --rm deasil/ng:6.11 node --version
docker run -it --rm deasil/ng:6.11 npm --version
docker run -it --rm -v $(pwd):/home/app deasil/ng npm install
Note If you have previously run npm install using a different version of NodeJs
you may need to remove your node_modules directory and do a fresh install with
the above command.
Use Angular CLI to build your project (ng build).
docker run -it --rm -v $(pwd):/home/app deasil/ng ng build
Serve the application and watch for changes in real-time with ng serve.
docker run -it --rm -v $(pwd):/home/app -p 4200:4200 deasil/ng ng serve -vw --host 0.0.0.0
Browse to http://localhost:4200 in your browser to view the application.
Stoping the container: Use docker ps to find the new running container and issue the command
docker stop CONTAINER_NAME to stop it.
MIT
Content type
Image
Digest
Size
380.2 MB
Last updated
almost 9 years ago
docker pull deasil/ng