This commit is contained in:
2023-08-04 15:49:06 +08:00
parent 06e0a528f9
commit c8be691c22
2 changed files with 2 additions and 2 deletions

View File

@@ -15,4 +15,4 @@ WORKDIR /app
ARG JAR_FILE=target/*.jar
COPY --from=build /code/target/*.jar app.jar
COPY GeoLite2-City .
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /app.jar ${0} ${@}"]
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar app.jar ${0} ${@}"]

2
Jenkinsfile vendored
View File

@@ -43,7 +43,7 @@ pipeline{
steps{
sh "docker-compose --project-name ${env.JOB_NAME} --project-directory docker/${env.BRANCH_NAME} -d up"
sh "docker-compose --project-name ${env.JOB_NAME.replace('-', '')} --project-directory docker/${env.BRANCH_NAME} -d up"
}