diff --git a/Dockerfile b/Dockerfile index 0f4e88e..f51c912 100644 --- a/Dockerfile +++ b/Dockerfile @@ -145,6 +145,6 @@ RUN mkdir -p /app/uploads EXPOSE 5000 HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \ - CMD pgrep -x worker > /dev/null && exit 0 || curl -f http://localhost:${PORT:-5000}/api/health/ || exit 1 + CMD pgrep -f /app/worker > /dev/null && exit 0 || curl -f http://localhost:${PORT:-5000}/api/health/ || exit 1 CMD ["/app/start.sh"]