Bundle system-prompt.txt and copy to persistent volume on startup
Some checks failed
Auto Build and Push Docker Image / build (push) Failing after 8s

- Include SchrottBot personality as bundled default
- Copy to data/ on first startup (persistent, editable)
- Load from persistent location after first run
- Changes survive container rebuilds

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-24 11:07:29 +01:00
parent 8db683470a
commit 9111d46a0e
4 changed files with 57 additions and 42 deletions

View File

@@ -6,6 +6,7 @@ COPY package*.json ./
RUN npm ci --only=production
COPY dist ./dist
COPY src/system-prompt.txt ./dist/system-prompt.txt
# Persistent data directory
VOLUME ["/app/data"]