Files
ulfbot/Dockerfile
sarah 9111d46a0e
Some checks failed
Auto Build and Push Docker Image / build (push) Failing after 8s
Bundle system-prompt.txt and copy to persistent volume on startup
- 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>
2026-03-24 11:07:29 +01:00

14 lines
234 B
Docker

FROM node:20-slim
WORKDIR /app
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"]
CMD ["node", "dist/index.js"]