#!/bin/sh # 复制项目的文件到对应docker路径,便于一键生成镜像。 usage() { echo "Usage: sh copy.sh" exit 1 } # copy sql echo "begin copy sql " cp ../sql/ry_20231130.sql ./mysql/db cp ../sql/ry_config_20231204.sql ./mysql/db # copy html echo "begin copy html " cp -r ../mesnac-ui/dist/** ./nginx/html/dist # copy jar echo "begin copy mesnac-gateway " cp ../mesnac-gateway/target/mesnac-gateway.jar ./ruoyi/gateway/jar echo "begin copy mesnac-auth " cp ../mesnac-auth/target/mesnac-auth.jar ./ruoyi/auth/jar echo "begin copy mesnac-visual " cp ../mesnac-visual/mesnac-monitor/target/mesnac-visual-monitor.jar ./ruoyi/visual/monitor/jar echo "begin copy mesnac-modules-system " cp ../mesnac-modules/mesnac-system/target/mesnac-modules-system.jar ./ruoyi/modules/system/jar echo "begin copy mesnac-modules-file " cp ../mesnac-modules/mesnac-file/target/mesnac-modules-file.jar ./ruoyi/modules/file/jar echo "begin copy mesnac-modules-job " cp ../mesnac-modules/mesnac-job/target/mesnac-modules-job.jar ./ruoyi/modules/job/jar echo "begin copy mesnac-modules-gen " cp ../mesnac-modules/mesnac-gen/target/mesnac-modules-gen.jar ./ruoyi/modules/gen/jar