Skip to content

Commit

Permalink
hotfix : Dockerfile에서 EXPOSE 8080 설정
Browse files Browse the repository at this point in the history
Signed-off-by: imscow11253 <seaweed8759@naver.com>
  • Loading branch information
imscow11253 committed Aug 2, 2024
1 parent 76e42d9 commit 1c8edbe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions imscow11253/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ WORKDIR /app

COPY --from=build /kwon/build/libs/*.jar app.jar

EXPOSE 8080

ENTRYPOINT ["java","-jar","/app.jar"]


Expand Down
10 changes: 9 additions & 1 deletion imscow11253/charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,12 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.name }}"
ports:
- containerPort: {{ .Values.service.port }}
- containerPort: {{ .Values.service.port }}
readinessProbe:
httpGet:
path: /healthcheck
port: 8080
livenessProbe:
httpGet:
path: /healthcheck
port: 8080

0 comments on commit 1c8edbe

Please sign in to comment.