12345678910111213141516171819202122 |
- #!/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 "
- cp -r ../ruoyi-ui/dist/** ./nginx/html/dist
- # copy jar
- echo "begin copy ruoyi-admin "
- cp ../ruoyi-admin/target/ruoyi-admin.jar ./ruoyi/admin/jar
|