Skip to content

Commit 1ebfd6f

Browse files
authored
Improve healthcheck parameter to start faster
1 parent 0c2c6c4 commit 1ebfd6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ COPY --from=dependencies_and_build /app/package.json /app/LICENSE /app/index.js
5151

5252
ENV NODE_ENV production
5353

54-
HEALTHCHECK --interval=1m --timeout=3s \
54+
HEALTHCHECK --interval=1m --timeout=3s --start-period=30s --start-interval=3s \
5555
CMD curl -f http://localhost:8099/
5656

5757
ENTRYPOINT [ "/sbin/tini", "--", "/docker-entrypoint.sh"]

0 commit comments

Comments
 (0)