prepro-adapt
This commit is contained in:
0
app-instance/runtime/registry/instances.lock
Normal file → Executable file
0
app-instance/runtime/registry/instances.lock
Normal file → Executable file
@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user