diff --git a/Containerfile b/Containerfile index 27c7719..dac6db2 100644 --- a/Containerfile +++ b/Containerfile @@ -17,4 +17,7 @@ COPY --from=builder /build/viddl /app/viddl RUN chmod +x /app/viddl +HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3\ + CMD curl -f http://localhost:8080 || exit 1 + CMD [ "/app/viddl" ]