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