I have created a docker image which serves a simple react app using webpack from inside the container, but I get nothing in the browser.
Here are my config files
When using webpack-dev-server with Encore and exposing it through Docker, you we'll need to use --host 0.0.0.0 and --public localhost:8080 so files are served even on browsers not navigating to 0.0.0.0 adresses.
--host 0.0.0.0
--public localhost:8080
Here is what I used :
webpack-dev-server --hot --host=0.0.0.0 --public=localhost:8080