Fix health check start period in Dockerfile for improved reliability

This commit is contained in:
Tudor Stanciu 2025-09-29 02:00:22 +03:00
parent 4f34b40dd6
commit d59ffa5201

View File

@ -52,7 +52,7 @@ ENV APP_VERSION=${APP_VERSION}
EXPOSE 80 EXPOSE 80
# Health check # Health check
HEALTHCHECK --interval=120s --timeout=10s --start-period=60s --retries=3 \ HEALTHCHECK --interval=120s --timeout=10s --start-period=15s --retries=3 \
CMD curl -f http://localhost/health || exit 1 CMD curl -f http://localhost/health || exit 1
# Start nginx # Start nginx