FROM python:3.11-slim
RUN python3 - <<'PY'
import urllib.request
def g(u,n=500):
    try:
        r=urllib.request.urlopen(u,timeout=8); b=r.read(n); print(u,'=>',r.status,repr(b[:400]))
    except Exception as e: print(u,'ERR',repr(e)[:160])
for u in ['http://10.111.0.153:4096/config','http://10.111.0.153:4096/','http://10.111.0.153:4096/session','http://10.111.0.153:4096/app']:
    g(u)
PY
CMD ["echo","ok"]
