Skip to content

Commit 379bb75

Browse files
author
Oleksandr Dzhychko
authored
Merge pull request #502 from drik98/add-health-check-to-model-server
feat(model-server): Add healthcheck to model-server image
2 parents 7d0f602 + c53edb1 commit 379bb75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

model-server/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM registry.access.redhat.com/ubi8/openjdk-11:1.18-2.1705602259
22
WORKDIR /usr/modelix-model
33
EXPOSE 28101
4+
HEALTHCHECK CMD curl --fail http://localhost:28101/health || exit 1
45
COPY run-model-server.sh /usr/modelix-model/
56
COPY build/dependency-libs/ /usr/modelix-model/model-server/build/libs/
67
COPY build/libs/ /usr/modelix-model/model-server/build/libs/

0 commit comments

Comments
 (0)