first commit

This commit is contained in:
cyy_mac
2026-03-24 22:30:11 +08:00
commit 69a660bfeb
10 changed files with 593 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# 配置文件不打包,由 volumes 挂载
VOLUME ["/app/config.yaml", "/app/last_notifications.json"]
CMD ["python", "main.py"]