上传gie 建木自动部署

master
陈思豪 2024-07-27 11:58:39 +08:00
parent 168ef31f46
commit de30d09c31
4 changed files with 59 additions and 4 deletions

46
.gitignore vendored 100644
View File

@ -0,0 +1,46 @@
######################################################################
# Build Tools
.gradle
/build/
!gradle/wrapper/gradle-wrapper.jar
target/
!.mvn/wrapper/maven-wrapper.jar
######################################################################
# IDE
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### JRebel ###
rebel.xml
### NetBeans ###
nbproject/private/
build/*
nbbuild/
dist/
nbdist/
.nb-gradle/
######################################################################
# Others
*.log
*.xml.versionsBackup
*.swp
!*/build/*.java
!*/build/*.html
!*/build/*.xml

View File

@ -8,9 +8,5 @@
</list>
</option>
</component>
<component name="MavenRunner">
<option name="jreName" value="1.8" />
<option name="vmOptions" value="-DarchetypeCatalog=internal" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK" />
</project>

12
Dockerfile 100644
View File

@ -0,0 +1,12 @@
FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/dragonwell:17.0.4.0.4.8-standard-ga-8.6
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
VOLUME ["/home/logs/cloud-auth"]
COPY ./target/cloud-auth.jar /home/app.jar
ENTRYPOINT ["java","-jar"]
CMD ["/home/app.jar"]

View File

@ -9,6 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>cloud-auth</artifactId>
<version>1.0.0</version>
<description>
cloud-auth认证授权中心