FROM python:3.11 | |
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 RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
CMD ["python","server.py","--enable-modules=caption,summarize,classify,talkinghead","--listen","--port"."7860"] |