Add TrueNAS compose, separate DB volume, and release script

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
SahikandClaude Opus 5.5 committed 2026-11-02 21:59:13 +08:00
1 parent 7716f8c297
commit 7df53679cb
3 files changed
+41

No files matched your search

+5
View File
@@ -3,4 +3,9 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# 資料庫放在獨立的 volume
ENV DB_PATH=/data/game.db
VOLUME ["/data"]
CMD ["python", "main.py"]