Add TrueNAS compose, separate DB volume, and release script
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
7716f8c297
commit
7df53679cb
3 files changed
+41
No files matched your search
@@ -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"]
|
||||
Reference in new issue
Block a user