Skip to content

Commit

Permalink
⏱ Add startup timeout for health check (#1475)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Oct 27, 2022
1 parent d9820f0 commit 9e3f367
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node-red/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ RUN \
COPY rootfs /

# Health check
HEALTHCHECK CMD curl --fail http://127.0.0.1:46836 || exit 1
HEALTHCHECK --start-period=10m \
CMD curl --fail http://127.0.0.1:46836 || exit 1

# Build arguments
ARG BUILD_ARCH
Expand Down

0 comments on commit 9e3f367

Please sign in to comment.