feat: use npm run dev-server in docker-compose (#31876)

This commit is contained in:
Maxime Beauchemin
2025-01-15 18:21:12 -08:00
committed by GitHub
parent fc8710f50a
commit ab6045691e
4 changed files with 23 additions and 17 deletions

View File

@@ -36,7 +36,9 @@ if [ "$BUILD_SUPERSET_FRONTEND_IN_DOCKER" = "true" ]; then
npm install
echo "Start webpack dev server"
npm run dev
# start the webpack dev server, serving dynamically at http://localhost:9000
# it proxies to the backend served at http://localhost:8088
npm run dev-server
else
echo "Skipping frontend build steps - YOU NEED TO RUN IT MANUALLY ON THE HOST!"