Upload to gitea

This commit is contained in:
Sahik committed 2026-11-04 14:09:24 +08:00
commit d3d25c68f9
12 files changed
+500

No files matched your search

+13
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 . .
# 不緩衝 print,docker logs 才會即時看到
ENV PYTHONUNBUFFERED=1
# 資料庫放在獨立的 volume
ENV DB_PATH=/data/lunarhelper.db
VOLUME ["/data"]
CMD ["python", "main.py"]