fix: update dockerfile health check

This commit is contained in:
Shrev Dev
2025-10-21 11:01:19 -05:00
parent 1d79fca115
commit 526298bea4
+2 -2
View File
@@ -41,7 +41,7 @@ VOLUME ["/app/data"]
ENV PUID=1001 PGID=1001 DATA_DIR=/app/data HEALTH_PORT=3000 ENV PUID=1001 PGID=1001 DATA_DIR=/app/data HEALTH_PORT=3000
EXPOSE 3000 EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:3000/health || exit 1 CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:3000/health || exit 1
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
CMD ["node", "dist/index.js"] CMD ["node", "dist/index.js"]