# SnapKitty Sovereign Chat — RTX 3080 Docker # One command: docker run -p 7860:7860 --gpus device=0 snapkitty-chat # Every response gets a WORM hash printed to stdout. FROM python:3.11-slim WORKDIR /app # System deps RUN apt-get update && apt-get install -y --no-install-recommends \ curl ca-certificates \ && rm -rf /var/lib/apt/lists/* # Install Ollama inside container RUN curl -fsSL https://ollama.com/install.sh | sh COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . # Startup: pull model + launch app COPY docker-entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENV OLLAMA_BASE_URL=http://localhost:11434 ENV OLLAMA_MODEL=snapkitty-merged ENV PORT=7860 EXPOSE 7860 ENTRYPOINT ["/entrypoint.sh"]