Why when I clear cache on Browser I can’t access my React Application anymore?

I’m deploying my React Application on Elastic Beanstalk on AWS, so I’m creating a Dockerfile in order to deploy it. The problem is that when I run my image, I can access my react application on Browser, but when I clean the cache, I just can’t access this anymore.

Dockerfile:

FROM mhart/alpine-node:11 AS builder
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build

FROM mhart/alpine-node
RUN npm install -g serve
WORKDIR /app
COPY --from=builder /app/build .
CMD ["serve", "-p", "80", "-s", "."]

Take a look at this in a anonymous window:

Project Container Running Fine:
enter image description here
If I Access it Works Nice:
enter image description here
If I Clear the cache and try to reload again it doesn’t work anymore:
enter image description here
enter image description here

The problem is that if I do this very same thing on a non-anonymous window, I can never again open the website.

Can anyone help me?

Source: StackOverflow