From 38acfebea081ed0a9bf75ffa5e7e15ed11a4dc1e Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Mon, 22 Apr 2024 01:54:12 +0100 Subject: [PATCH] Add SHRoNK ip online checker --- Dockerfile | 1 + cert/index.html | 2 +- ipserv.py | 12 ++++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8abb4da..bc397b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM python:3-slim WORKDIR /app COPY ipserv.py /app +COPY cert/ /app/cert EXPOSE 80/tcp RUN pip install fastapi requests gunicorn uvicorn[standard] aiohttp CMD ["gunicorn", "-b", "0.0.0.0:80", "--forwarded-allow-ips", "*", "--worker-class", "uvicorn.workers.UvicornWorker", "ipserv:app"] \ No newline at end of file diff --git a/cert/index.html b/cert/index.html index f3df652..a0034ea 100644 --- a/cert/index.html +++ b/cert/index.html @@ -2,7 +2,7 @@ SHRoNK IP Specification test - +