Add self-contained relay deployment project and operational guidance

This commit is contained in:
ex_tianzy
2026-10-27 17:51:43 +08:00
parent 011a7797ee
commit b774941890
49 changed files with 4454 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM python:3.12-slim-bookworm
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 PIP_NO_CACHE_DIR=1
WORKDIR /app
COPY requirements.lock pyproject.toml ./
COPY relay ./relay
RUN pip install --no-cache-dir -r requirements.lock
USER 10001:10001
ENTRYPOINT ["python", "-m", "relay.cli"]