Files
miku-discord/bot/Dockerfile
koko210Serve 6ec33bcecb Implement Evil Miku mode with persistence, fix API event loop issues, and improve formatting
- Added Evil Miku mode with 4 evil moods (aggressive, cunning, sarcastic, evil_neutral)
- Created evil mode content files (evil_miku_lore.txt, evil_miku_prompt.txt, evil_miku_lyrics.txt)
- Implemented persistent evil mode state across restarts (saves to memory/evil_mode_state.json)
- Fixed API endpoints to use client.loop.create_task() to prevent timeout errors
- Added evil mode toggle in web UI with red theme styling
- Modified mood rotation to handle evil mode
- Configured DarkIdol uncensored model for evil mode text generation
- Reduced system prompt redundancy by removing duplicate content
- Added markdown escape for single asterisks (actions) while preserving bold formatting
- Evil mode now persists username, pfp, and nicknames across restarts without re-applying changes
2026-01-02 17:11:58 +02:00

42 lines
824 B
Docker

FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN playwright install
RUN apt-get update && apt-get install -y \
ffmpeg \
libsm6 \
libxext6 \
libxcomposite1 \
libxdamage1 \
libgtk-3-0 \
libgdk3.0-cil \
libatk1.0-0 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY bot.py .
COPY server_manager.py .
COPY command_router.py .
COPY utils /app/utils
COPY commands /app/commands
COPY memory /app/memory
COPY static /app/static
COPY globals.py .
COPY api.py .
COPY api_main.py .
COPY miku_lore.txt .
COPY miku_prompt.txt .
COPY miku_lyrics.txt .
COPY evil_miku_lore.txt .
COPY evil_miku_prompt.txt .
COPY evil_miku_lyrics.txt .
COPY MikuMikuBeam.mp4 .
COPY Miku_BasicWorkflow.json .
COPY moods /app/moods/
CMD ["python", "-u", "bot.py"]