Add basic healthcheck to dockerfile

This commit is contained in:
Arnaud_Cayrol 2026-02-15 21:51:25 +01:00
parent 9df5ec2513
commit e09e8b7002

View file

@ -69,4 +69,6 @@ RUN useradd --create-home --shell /bin/bash timelapse && \
USER timelapse
EXPOSE 5000
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
CMD wget -qO- http://localhost:5000/api/health || exit 1
CMD ["./immich-timelapse"]