The iptv-proxy container is running, but Docker reports it as unhealthy because the healthcheck script calls wget, which is not installed in the final image.
Observed health log from the running container:
/usr/src/app/healthcheck.sh: 8: wget: not found
The current Dockerfile installs ffmpeg in the final node:20-bookworm-slim image, then copies healthcheck.sh. The healthcheck runs:
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
CMD /bin/sh /usr/src/app/healthcheck.sh
healthcheck.sh uses:
wget --quiet --tries=1 --spider http://localhost:34400/health || exit 1
Possible fixes:
- Install
wget or curl in the final image.
- Rewrite the healthcheck to use Node's built-in HTTP client so no extra binary is needed.
The app may be functioning correctly; the unhealthy Docker status appears to be caused by the missing healthcheck dependency.
The
iptv-proxycontainer is running, but Docker reports it as unhealthy because the healthcheck script callswget, which is not installed in the final image.Observed health log from the running container:
The current
Dockerfileinstallsffmpegin the finalnode:20-bookworm-slimimage, then copieshealthcheck.sh. The healthcheck runs:healthcheck.shuses:Possible fixes:
wgetorcurlin the final image.The app may be functioning correctly; the unhealthy Docker status appears to be caused by the missing healthcheck dependency.