In order to make your app reachable outside the container
webpack-dev-server must be
configured to use
0.0.0.0 as host.
Webpack performs a host check when accessing the server. External access to the server won't be allowed unless it's properly configured. Check webpack's dev server documentation for more information.
You can bypass this check entirely by setting
Webpack uses the file system to get notified of file changes and enable features like hot-reloading.
You might experience file watching issues if your docker image is not compatible with webpack's
file system subsystem. If that's your case, enable the
Check webpack's documentation
for more information about