Skip to content

docs(deployment): fix HEALTHCHECK example to install curl in Dockerfile#205

Open
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/fix-healthcheck-curl-docs-20260621
Open

docs(deployment): fix HEALTHCHECK example to install curl in Dockerfile#205
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/fix-healthcheck-curl-docs-20260621

Conversation

@andrerfneves

Copy link
Copy Markdown
Owner

Summary

Fixes the HEALTHCHECK example in DEPLOYMENT_DOCKER.md to include installing curl in the Dockerfile.

Why

The base nginx:alpine image used in the production Docker stage does not include curl by default. The HEALTHCHECK example showed:

HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
  CMD curl -f http://localhost/ || exit 1

A developer adding this to their Dockerfile verbatim would see HEALTHCHECK failures because curl is not available in the runtime container.

Changes

  • DEPLOYMENT_DOCKER.md: Added RUN apk add --no-cache curl before the HEALTHCHECK instruction in the Dockerfile example

Test Plan

  • No behavior change — documentation-only fix
  • All 52 existing tests pass

The HEALTHCHECK example used curl to probe the container, but the base
nginx:alpine image does not include curl by default. Added a RUN command
to install curl before the HEALTHCHECK, preventing failures when users
follow the example verbatim.
@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightning-decoder Ready Ready Preview, Comment Jun 21, 2026 8:06pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant