From dd3e83541c4d16784d470758fd3284062c7b74b1 Mon Sep 17 00:00:00 2001 From: Ivan Wu Date: Wed, 18 Mar 2026 14:22:00 +0800 Subject: [PATCH] prepro-adapt --- app-instance/runtime/registry/instances.lock | 0 authz-service/Dockerfile | 7 +------ 2 files changed, 1 insertion(+), 6 deletions(-) mode change 100644 => 100755 app-instance/runtime/registry/instances.lock diff --git a/app-instance/runtime/registry/instances.lock b/app-instance/runtime/registry/instances.lock old mode 100644 new mode 100755 diff --git a/authz-service/Dockerfile b/authz-service/Dockerfile index 853c0d1..cd26673 100644 --- a/authz-service/Dockerfile +++ b/authz-service/Dockerfile @@ -25,11 +25,6 @@ RUN chmod +x /opt/authz-service/docker-entrypoint.sh && \ EXPOSE 19090 -HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=5 \ - CMD python - <<'PY' \ -import json, urllib.request \ -payload = json.loads(urllib.request.urlopen('http://127.0.0.1:19090/healthz', timeout=3).read().decode('utf-8')) \ -assert payload.get('status') == 'ok' \ -PY +HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=5 CMD python -c "import json, urllib.request; payload = json.loads(urllib.request.urlopen('http://127.0.0.1:19090/healthz', timeout=3).read().decode('utf-8')); assert payload.get('status') == 'ok'" ENTRYPOINT ["/opt/authz-service/docker-entrypoint.sh"]