docker-build.bat 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. cd /d ../Publish
  2. set netVersion=net6.0
  3. @echo "copy SersDocker"
  4. xcopy "..\PublishFile\SersDocker" "SersDocker" /e /i /r /y
  5. @echo "copy sers"
  6. xcopy "SersPublish\%netVersion%\ServiceCenter\appsettings.json" "SersDocker\docker窒扰Sers\sers"
  7. xcopy "SersPublish\%netVersion%\ServiceCenter" "SersDocker\docker秶釬噩砉Sers\sers\app" /e /i /r /y
  8. @echo "copy sers-gateway"
  9. xcopy "SersPublish\%netVersion%\Gateway\appsettings.json" "SersDocker\docker窒扰Sers\sers-gateway"
  10. xcopy "SersPublish\%netVersion%\Gateway" "SersDocker\docker秶釬噩砉Sers\sers-gateway\app" /e /i /r /y
  11. @echo "copy sers-gover"
  12. xcopy "SersPublish\%netVersion%\Gover\appsettings.json" "SersDocker\docker窒扰Sers\sers-gover"
  13. xcopy "SersPublish\%netVersion%\Gover" "SersDocker\docker秶釬噩砉Sers\sers-gover\app" /e /i /r /y
  14. @echo "copy sers-demo"
  15. xcopy "SersPublish\%netVersion%\Demo\appsettings.json" "SersDocker\docker窒扰Sers\sers-demo"
  16. xcopy "SersPublish\%netVersion%\Demo" "SersDocker\docker秶釬噩砉Sers\sers-demo\app" /e /i /r /y
  17. @echo "copy sers-demo-robot"
  18. xcopy "SersPublish\%netVersion%\Robot\appsettings.json" "SersDocker\docker窒扰Sers\sers-demo-robot"
  19. xcopy "SersPublish\%netVersion%\Robot" "SersDocker\docker秶釬噩砉Sers\sers-demo-robot\app" /e /i /r /y
  20. @echo "copy sers-demo-sersall"
  21. xcopy "Sers揤聆\sers揤聆-等极揤聆%netVersion%\ServiceCenter\appsettings.json" "SersDocker\docker窒扰Sers\sers-demo-sersall"
  22. xcopy "Sers揤聆\sers揤聆-等极揤聆%netVersion%\ServiceCenter" "SersDocker\docker秶釬噩砉Sers\sers-demo-sersall\app" /e /i /r /y
  23. cd /d ../cmd