Docker container with Angular2 app and NodeJs does not respond Docker container with Angular2 app and NodeJs does not respond docker docker

Docker container with Angular2 app and NodeJs does not respond


It seems that you use ng serve to run development server and it by default starts on loop interface (available only on localhost). You should provide specific parameter:

ng serve --host 0.0.0.0

to run it on all interfaces.


You need to change angular-cli to serve the app externally i.e update your npm script to ng serve --host 0.0.0.0