fix(examples): updated with-docker devDependencies for successful build (#5444)
### Description
Fixed an issue in the `with-docker` example where the build command
fails due to mismatching **@types/react** versions in the Next.js app
and the `ui` package.
This commit only updates the `package.json` file and does not introduce
any new features or functionality.