Skip to content

Commit

Permalink
shorter healthcheck intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Apr 21, 2023
1 parent 51567c8 commit 1139e70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM alpine
FROM docker.io/library/alpine:3.17.3
RUN apk add --no-cache ca-certificates
COPY oidc-test-client /
EXPOSE 9009
WORKDIR /web-root
ENV OIDC_BIND=0.0.0.0:9009
HEALTHCHECK CMD [ "wget", "--spider", "http://localhost:9009/health" ]
HEALTHCHECK --interval=5s --start-period=1s CMD [ "wget", "--spider", "http://localhost:9009/health" ]
ENTRYPOINT [ "/oidc-test-client" ]

0 comments on commit 1139e70

Please sign in to comment.