FROM python:3.11 | |
RUN apt update -y | |
RUN apt install ffmpeg -y | |
RUN useradd -m -u 1000 user | |
USER user | |
ENV PATH="/home/user/.local/bin:$PATH" | |
WORKDIR /app | |
RUN git clone https://github.com/SillyTavern/SillyTavern-extras | |
WORKDIR /app/SillyTavern-extras | |
RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
CMD ["python","server.py","--enable-modules=caption,summarize,classify,talkinghead,whisper-stt","--listen","--port","7860","--stt-whisper-model-path=small"] |