DEV Community

Discussion on: Dockerize Angular App

Collapse
 
victugord profile image
Victugord

Bad advice.
You should not use ng serve for production because it use webpack-dev-server that is build for development only.

You should use nginx inside the docker container

Collapse
 
jzombie profile image
jzombie

He does mention "Create an image for dev environment with code Hot-reloading"...