mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
add
This commit is contained in:
parent
c00ff1c39f
commit
b8eaa97876
3 changed files with 4 additions and 4 deletions
|
@ -11,10 +11,10 @@ RUN gradle clean bootJar
|
|||
FROM docker.io/library/eclipse-temurin:11-jre-focal AS app
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/build/libs/spring-petclinic-*.jar spring.petclinic.jar
|
||||
COPY --from=build /app/build/libs/spring-petclinic-3.0.0.jar .
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
# server run
|
||||
ENTRYPOINT ["java"]
|
||||
CMD ["-jar", "/app/spring-petclinic-2.7.3.jar"]
|
||||
CMD ["-jar", "/app/spring-petclinic-3.0.0.jar"]
|
||||
|
|
|
@ -34,7 +34,7 @@ spec:
|
|||
command: [ "java" ]
|
||||
args:
|
||||
- "-jar"
|
||||
- "spring-petclinic-2.7.3.jar"
|
||||
- "spring-petclinic-3.0.0.jar"
|
||||
{{- with .Values.app.env }}
|
||||
env:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
|
|
|
@ -3,7 +3,7 @@ app:
|
|||
profile:
|
||||
replicaCount: 1
|
||||
hostAliases: []
|
||||
image: doubles.kr-central-1.kcr.dev/bella-test/nginx:latest
|
||||
image: doubles.kr-central-1.kcr.dev/bella-test/test-img:latest
|
||||
resources: {}
|
||||
service:
|
||||
type: LoadBalancer
|
||||
|
|
Loading…
Reference in a new issue