This commit is contained in:
choni824 2023-01-02 11:32:03 +09:00
parent c00ff1c39f
commit b8eaa97876
3 changed files with 4 additions and 4 deletions

View file

@ -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"]

View file

@ -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 }}

View file

@ -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