add docker

This commit is contained in:
none
2023-04-06 16:17:17 +08:00
parent 943c25ffb0
commit 28b9bb6495
7 changed files with 35 additions and 20 deletions

13
docker-build.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
echo '设置M2_HOME...'
cp -r docker/.m2 /root
ls /root/.m2
echo '开始打包...'
export MAVEN_OPTS=-Dmaven.test.skip=true
/app/mvnw clean package