add production configs, update publish script

This commit is contained in:
Alex Bezdieniezhnykh
2025-03-05 20:58:58 +02:00
parent ee94d2f5db
commit dc44340f67
5 changed files with 55 additions and 1 deletions
+3 -1
View File
@@ -12,6 +12,8 @@ dotnet publish -r win-x64 -p:SatelliteResourceLanguages="en" -p:DebugSymbols=fal
cd ..
rmdir dist /s /q
xcopy Azaion.Suite\bin\Release\net8.0-windows\win-x64\publish dist\ /s /e /q
del dist\config.json
move dist\config.production.json dist\config.json
mkdir dist\dummy
move dist\Azaion.Annotator.dll dist\dummy\
@@ -44,7 +46,7 @@ pyinstaller --onefile ^
--hidden-import remote_command_handler ^
start.py
move dist\start.exe ..\dist\azaion-inference.exe
copy config.yaml ..\dist
copy config.production.yaml ..\dist\config.yaml
cd..
echo Download onnx model