init project

This commit is contained in:
hongz
2026-02-03 00:54:48 +08:00
commit 89d4260eb8
18 changed files with 1404 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM python:3.11-slim
# 設置工作目錄
WORKDIR /app
# 複製依賴文件
COPY requirements.txt .
# 安裝依賴
RUN pip install --no-cache-dir -r requirements.txt
# 複製源代碼
COPY src/ ./src/
# 設置環境變量
ENV PYTHONUNBUFFERED=1
ENV PYTHONPATH=/app
# 運行 Bot
CMD ["python", "-m", "src.main"]