release: cut v2.1
Some checks failed
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled

This commit is contained in:
Hermes Agent
2026-06-13 14:49:58 +08:00
parent eb4f3e1e96
commit 3f46811e49
144 changed files with 22290 additions and 1057 deletions

25
Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1 \
http_proxy= \
https_proxy= \
HTTP_PROXY= \
HTTPS_PROXY= \
no_proxy= \
NO_PROXY=
WORKDIR /app
COPY requirements-admin.txt /tmp/requirements-admin.txt
RUN python -m pip install --upgrade pip \
&& python -m pip install -r /tmp/requirements-admin.txt
COPY . /app
EXPOSE 8000
CMD ["python", "-m", "admin.app", "--host", "0.0.0.0", "--port", "8000", "--log-format", "json"]