feat: initial arena-dashboard (FastAPI + dark UI + liveness probe)

This commit is contained in:
2026-10-16 14:09:55 +00:00
commit 04749ed895
6 changed files with 881 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM python:3.12-slim
WORKDIR /app
RUN pip install --no-cache-dir fastapi uvicorn[standard] httpx
COPY . /app/
# cron для probe-скрипта
RUN apt-get update -qq && apt-get install -y -qq cron && rm -rf /var/lib/apt/lists/*
# entrypoint запускает cron + uvicorn
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 8000
ENTRYPOINT ["/entrypoint.sh"]