Add healthcheck to Docker image
Some checks failed
Push Workflows / rustfmt (push) Failing after 5s
Push Workflows / clippy (push) Failing after 20s
Push Workflows / docs (push) Successful in 34s
Push Workflows / leptos-test (push) Successful in 1m1s
Push Workflows / test (push) Successful in 1m10s
Push Workflows / build (push) Successful in 2m2s
Push Workflows / docker-build (push) Failing after 9m51s
Push Workflows / nix-build (push) Successful in 16m29s

This commit is contained in:
2025-05-03 06:20:26 +00:00
parent 825e7624f6
commit 9cfad73e18

View File

@ -76,6 +76,8 @@ COPY --from=builder /app/target/release/libretunes /libretunes
COPY --from=builder /app/target/site /site
COPY --from=builder /app/target/release/health_check /health_check
HEALTHCHECK CMD [ "/health_check" ]
# Copy libraries to /lib64
COPY --from=builder /app/libs /lib64
COPY --from=builder /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2