YZProjectCloud/docker/copy.sh

44 lines
1.3 KiB
Bash
Raw Permalink Normal View History

2024-08-17 12:11:19 +08:00
#!/bin/sh
# 复制项目的文件到对应docker路径便于一键生成镜像。
usage() {
echo "Usage: sh copy.sh"
exit 1
}
# copy sql
echo "begin copy sql "
cp ../sql/ry_20220814.sql ./mysql/db
cp ../sql/ry_config_20220510.sql ./mysql/db
# copy html
echo "begin copy html "
2024-08-17 13:13:48 +08:00
cp -r ../yanzhu-ui-vue3/dist/** ./nginx/html/dist
2024-08-17 12:11:19 +08:00
# copy jar
2024-08-17 13:13:48 +08:00
echo "begin copy yanzhu-gateway "
cp ../yanzhu-gateway/target/yanzhu-gateway.jar ./yanzhu/gateway/jar
echo "begin copy yanzhu-auth "
cp ../yanzhu-auth/target/yanzhu-auth.jar ./yanzhu/auth/jar
2024-08-17 12:11:19 +08:00
2024-08-17 13:13:48 +08:00
echo "begin copy yanzhu-visual "
cp ../yanzhu-visual/yanzhu-monitor/target/yanzhu-visual-monitor.jar ./yanzhu/visual/monitor/jar
2024-08-17 12:11:19 +08:00
2024-08-17 13:13:48 +08:00
echo "begin copy yanzhu-modules-system "
cp ../yanzhu-modules/yanzhu-system/target/yanzhu-modules-system.jar ./yanzhu/modules/system/jar
2024-08-17 12:11:19 +08:00
2024-08-17 13:13:48 +08:00
echo "begin copy yanzhu-modules-manage "
cp ../yanzhu-modules/yanzhu-manage/target/yanzhu-modules-manage.jar ./yanzhu/modules/manage/jar
2024-08-17 12:11:19 +08:00
2024-08-17 13:13:48 +08:00
echo "begin copy yanzhu-modules-file "
cp ../yanzhu-modules/yanzhu-file/target/yanzhu-modules-file.jar ./yanzhu/modules/file/jar
2024-08-17 12:11:19 +08:00
2024-08-17 13:13:48 +08:00
echo "begin copy yanzhu-modules-job "
cp ../yanzhu-modules/yanzhu-job/target/yanzhu-modules-job.jar ./yanzhu/modules/job/jar
2024-08-17 12:11:19 +08:00
2024-08-17 13:13:48 +08:00
echo "begin copy yanzhu-modules-gen "
cp ../yanzhu-modules/yanzhu-gen/target/yanzhu-modules-gen.jar ./yanzhu/modules/gen/jar
2024-08-17 12:11:19 +08:00