Browser not rendering Dockerized AngularJS app

So, I’m trying to dockerize an AngularJS app for some practice. Here is my repo https://github.com/Nigel33/angularJS_docker_test:
(Its from the official Angular-phonecat repo but i added Dockerfile and docker-compose)

Here’s my Dockerfile:

FROM node:lts-alpine
RUN npm install -g http-server

WORKDIR /app
COPY package*.json ./

COPY . .

RUN npm install && 
    npm run start

EXPOSE 8000

CMD [ "http-server", "dist" ]

Here’s my docker-compose.yml:

version: '3'
services:
  front:
    build: .
    command: bash -c "npm start"
    volumes: 
      - .:/angular-phonecat
    ports: 
      - "8000:8000"

When I do docker-compose build then docker-compose up, it seems to run based on the logs:

Building front
Step 1/8 : FROM node:lts-alpine
 ---> b95baba1cfdb
Step 2/8 : RUN npm install -g http-server
 ---> Using cache
 ---> 082793f64510
Step 3/8 : WORKDIR /app
 ---> Using cache
 ---> e76e23fa5a08
Step 4/8 : COPY package*.json ./
 ---> Using cache
 ---> 9960651e0929
Step 5/8 : COPY . .
 ---> c06eaebcfb38
Step 6/8 : RUN npm install &&     npm run start
 ---> Running in e2622118028d
npm WARN lifecycle [email protected]~postinstall: cannot run in wd [email protected] npm run copy-libs (wd=/app)
audited 3777 packages in 6.409s
found 57 vulnerabilities (2 low, 2 moderate, 53 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> [email protected] prestart /app
> npm install

npm WARN lifecycle [email protected]~postinstall: cannot run in wd [email protected] npm run copy-libs (wd=/app)
audited 3777 packages in 5.338s
found 57 vulnerabilities (2 low, 2 moderate, 53 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> [email protected] start /app
> http-server ./app -a localhost -p 8000 -c-1

Starting up http-server, serving ./app
Available on:
  http://localhost:8000
Hit CTRL-C to stop the server

But when I open up my browser and navigate to localhost:8000, I get the “this site can’t be reached” page. Any idea whats wrong?? Thank you!

Source: StackOverflow