Sign inSign up

getjv/nodejs

By getjv

Updated almost 8 years ago

a simple nodejs,npm,angular-cli

Image
0

369

getjv/nodejs repository overview

ubuntu curl openssl nano nvm 0.33.11 node 10.8.0 npm 6.2.0 angular-cli 6.1.2

h2. useful comands

docker run -d --rm --name mynodejs -it -p 4200:4200 -v D:\git:/home getjv/nodejs

docker exec -it mynodejs bash

cd <project_folder>

(to server up) ng serve --port=4200 --host=0.0.0.0

to configure the automatic reload application add to you angular.json the property: "projects.project-name.architect.build.options.poll=1000"

Links: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-18-04 https://github.com/angular/angular-cli/issues/10559

Tag summary

Content type

Image

Digest

Size

121.3 MB

Last updated

about 8 years ago

docker pull getjv/nodejs