AicsKnowledgeBase_backend/buildDockerImage.ps1

10 lines
282 B
PowerShell

.\gradlew.bat bootJar
java -Djarmode=layertools `
-jar .\build\libs\AicsKnowledgeBase_main-1.0.0.jar `
extract --destination build/extracted
docker build -f .\Dockerfile -t auto/aics_main:latest .
echo 'saving...'
docker save -o ..\docker\aics_main.tar auto/aics_main:latest
pause