build(docker): fix dashboard auto config paths
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 9 Sep 2024 17:49:53 +0000 (19:49 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 9 Sep 2024 17:49:53 +0000 (19:49 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
ui/web/docker/autoconfig.sh

index f9c57eed701eda148dd751f8d01ca81117a07724..95e6e3e5a3f0f1aeb5f4bee3a256d77f8e111870 100755 (executable)
@@ -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