Skip to content

Commit 147bbbb

Browse files
author
js-jslog
committed
Set host address to 0.0.0.0 for docker
If the project built from this is being run inside a docker container, this setting is very important.
1 parent e30e829 commit 147bbbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/webpack-es6/webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = {
1010
},
1111
devtool: 'inline-source-map',
1212
devServer: {
13+
host: '0.0.0.0',
1314
contentBase: './dist',
1415
port: 3000,
1516
},

0 commit comments

Comments
 (0)