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>
14 lines
234 B
Docker
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"] |