This question already has an answer here:
If $f: \mathbb R \to \mathbb R$ is bounded, increasing and continuous. Does $f$ have to uniform continuous?
I know the answer is yes if $f$ has domain to be any open interval, say $(0,1)$. But I don't know how to prove this case. Any help is appreciated.