feat: Container healthcheck
This commit is contained in:
parent
797d39e847
commit
aebdab79b6
@ -17,4 +17,7 @@ COPY --from=builder /build/viddl /app/viddl
|
|||||||
|
|
||||||
RUN chmod +x /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" ]
|
CMD [ "/app/viddl" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user