#!/bin/sh # 复制项目的文件到对应docker路径,便于一键生成镜像。 usage() { echo "Usage: sh copy.sh" exit 1 } # copy jar echo "begin copy ds-gateway " cp ../ds-gateway/target/ds-gateway.jar ./ds/gateway/jar echo "begin copy ds-miniapps " cp ../ds-modules/ds-miniapps/ds-miniapps-service/target/ds-miniapps-service.jar ./ds/modules/miniapps/jar