mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 23:05:49 +00:00
updated
This commit is contained in:
parent
872b2651e8
commit
298eba671d
3 changed files with 2 additions and 9 deletions
|
@ -8,11 +8,7 @@ WORKDIR /app/petclinic
|
||||||
COPY target/spring-petclinic-3.3.0-SNAPSHOT.jar .
|
COPY target/spring-petclinic-3.3.0-SNAPSHOT.jar .
|
||||||
|
|
||||||
# Expose the port your application runs on
|
# Expose the port your application runs on
|
||||||
EXPOSE 8888
|
EXPOSE 80
|
||||||
|
|
||||||
# Set the entry point to run the JAR file
|
# Set the entry point to run the JAR file
|
||||||
<<<<<<< HEAD
|
|
||||||
ENTRYPOINT ["java", "-jar", "spring-petclinic-3.3.0-SNAPSHOT.jar"]
|
ENTRYPOINT ["java", "-jar", "spring-petclinic-3.3.0-SNAPSHOT.jar"]
|
||||||
=======
|
|
||||||
ENTRYPOINT ["java", "-jar", "spring-petclinic-3.3.0-SNAPSHOT.jar"]
|
|
||||||
>>>>>>> 8307f0d9db8a3ee317049aaf2831afada88ce7f1
|
|
||||||
|
|
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -85,9 +85,6 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
withDockerRegistry(credentialsId: 'Docker_cred', toolName: 'Docker') {
|
withDockerRegistry(credentialsId: 'Docker_cred', toolName: 'Docker') {
|
||||||
sh "docker push prasannakumarsinganamalla431/petclinic:${BUILD_NUMBER}"
|
sh "docker push prasannakumarsinganamalla431/petclinic:${BUILD_NUMBER}"
|
||||||
sh "docker run -d prasannakumarsinganamalla431/petclinic:${BUILD_NUMBER}"
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,4 +24,4 @@ logging.level.org.springframework=INFO
|
||||||
# Maximum time static resources should be cached
|
# Maximum time static resources should be cached
|
||||||
spring.web.resources.cache.cachecontrol.max-age=12h
|
spring.web.resources.cache.cachecontrol.max-age=12h
|
||||||
|
|
||||||
server.port=8888
|
server.port=80
|
||||||
|
|
Loading…
Reference in a new issue