From: Jérôme Benoit Date: Mon, 9 Sep 2024 17:49:53 +0000 (+0200) Subject: build(docker): fix dashboard auto config paths X-Git-Tag: ocpp-server@v1.5.2~65 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=abba1ad8aec06b4c1783adc6893c09ce108f08a3;p=e-mobility-charging-stations-simulator.git build(docker): fix dashboard auto config paths Signed-off-by: Jérôme Benoit --- diff --git a/ui/web/docker/autoconfig.sh b/ui/web/docker/autoconfig.sh index f9c57eed..95e6e3e5 100755 --- a/ui/web/docker/autoconfig.sh +++ b/ui/web/docker/autoconfig.sh @@ -7,7 +7,7 @@ then [ -z $emobility_server_type ] && { echo "emobility env server type variable not found, exiting"; exit 1; } [ -z $emobility_service_type ] && { echo "emobility env service type variable not found, exiting"; exit 1; } - cp $emobility_install_dir/dist/assets/configs-docker/$emobility_server_type-$emobility_service_type-$emobility_landscape.json $emobility_install_dir/public/config.json + cp $emobility_install_dir/src/assets/configs-docker/$emobility_server_type-$emobility_service_type-$emobility_landscape.json $emobility_install_dir/dist/config.json else echo "no emobility env defined, start with default configuration" fi