create script for docker dev

This commit is contained in:
David Marzal authored and GitHub committed 2026-02-08 09:11:36 +01:00
1 parent c2212119f0
commit 9c08faeba5
3 files changed
+3 -1

No files matched your search

+2
View File
@@ -71,6 +71,8 @@ yarn install
# Start dev server
yarn run dev
# Or if you are using docker (to bind to 0.0.0.0 instead of loopback)
# yarn run dev:docker
# Start the node server in another terminal window.
yarn run start
+1
View File
@@ -80,6 +80,7 @@
},
"scripts": {
"dev": "webpack-dev-server --env.file=development --mode development --devtool inline-source-map",
"dev:docker": "yarn run dev --host=0.0.0.0",
"build": "webpack",
"production": "NODE_ENV='production' && webpack --env.file=production --mode production && node server",
"start": "node server",
-1
View File
@@ -11,7 +11,6 @@ module.exports = env => ({
contentBase: path.join(__dirname, './server/www'),
compress: true,
port: 9001,
host: '0.0.0.0',
historyApiFallback: true,
proxy: {
'/': {