Skip to content

fix(Dockerfile): add curl for healthcheck#1024

Merged
bra1nDump merged 1 commit intoslopus:mainfrom
cyijun:fix-docker-healthcheck-curl
Apr 12, 2026
Merged

fix(Dockerfile): add curl for healthcheck#1024
bra1nDump merged 1 commit intoslopus:mainfrom
cyijun:fix-docker-healthcheck-curl

Conversation

@cyijun
Copy link
Copy Markdown
Contributor

@cyijun cyijun commented Apr 11, 2026

The docker-compose.yaml configures a healthcheck that uses curl to check the /health endpoint, but curl is not installed in the runtime image (node:20-slim).

This causes the container to be reported as unhealthy even though the server is running correctly.

Error before fix:

Fix: Install curl alongside ffmpeg in the runtime stage.

Fixes #N/A

The docker-compose.yaml configures a healthcheck that uses curl
to check the /health endpoint, but curl is not installed in the
runtime image (node:20-slim).

This causes the container to be reported as unhealthy even though
the server is running correctly.

Fix by installing curl alongside ffmpeg in the runtime stage.
@bra1nDump bra1nDump merged commit 5023066 into slopus:main Apr 12, 2026
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.

2 participants