This commit is contained in:
2025-10-14 13:15:45 +07:00
parent 6745ecd4a3
commit 578f5eacc8
3 changed files with 13 additions and 2 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM ghcr.io/graalvm/jdk-community:21
WORKDIR /app
ARG JAR_FILE
COPY ./target/${JAR_FILE} app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/app.jar"]

2
Jenkinsfile vendored
View File

@@ -4,7 +4,7 @@ pipeline {
stage('Build') {
steps {
withMaven(maven: 'maven-latest') {
sh 'mvn -B -DskipTests clean package'
sh './mvnw -B -DskipTests clean package'
}
}
}

View File

@@ -10,7 +10,7 @@
</parent>
<groupId>id.my.luxic</groupId>
<artifactId>pastebin</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.0.1</version>
<name>pastebin</name>
<description>Pastebin made with Java Spring Boot</description>
<url/>