If you facing same problem inside Docker, then you can use below CMD
in Dockerfile.
CMD ["ng", "serve", "--host", "0.0.0.0"]
Or complete Dockerfile
FROM node:alpine
WORKDIR app
RUN npm install -g @angular/cli
COPY . .
CMD ["ng", "serve", "--host", "0.0.0.0"]