public-financial/docker/docker-build.sh
夏悸 e6b2aa68a1
fix: update docker/docker-build.sh.
Signed-off-by: 夏悸 <wmails@126.com>
2024-06-19 02:54:05 +00:00

20 lines
483 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

cd ..
echo '开始编译clientFront...'
./gradlew front-end:build
rm -rf ./docker/nginx/wwwroot/client/*
cp -r ./front-end/dist/* ./docker/nginx/wwwroot/client
echo '开始编译client-server...'
./gradlew bs-server:bootJar
rm -rf ./docker/server/financial.jar
cp ./bs-server/build/libs/financial-0.1.jar ./docker/server/financial.jar
cd ./docker
docker-compose up -d
echo 'docker编译完成执行 docker-compose up -d 启动服务即可'
echo 'client访问127.0.0.1:89'