Signed-off-by: newrain001 <newrain_wang@163.com>
master
newrain001 1 year ago committed by Gitee
parent dc1b084cd2
commit 2dd3e95d78
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 2
      cloud/Jenkinsfile
  2. 2
      cloud/ruoyi-java/Dockerfile

2
cloud/Jenkinsfile vendored

@ -15,7 +15,7 @@ pipeline {
}
stage('后端代码打包') {
steps {
sh "mvn clean package -Dmaven.test.skip=true"
sh "mvn clean package -Dmaven.test.skip=true && cp ruoyi-admin/target/ruoyi-admin.jar cloud/ruoyi-java"
echo "后端代码打包完成"
}
}

@ -1,6 +1,6 @@
FROM java:8-jre-alpine
COPY ruoyi-admin/target/ruoyi-admin.jar /
COPY ruoyi-admin.jar /
EXPOSE 8080

Loading…
Cancel
Save