webpack-dev-server proxy to docker container
I think I managed to tacle the problem.Just had to change the webpack configuration with the following
devServer: { //redirect api calls to backend server proxy: { '/api': { target: { host: "back", protocol: 'http:', port: 8080 }, ignorePath: true, changeOrigin: true, secure: false } } }